man, I’m really considering moving from us-east-1 ...
# random
s
man, I’m really considering moving from us-east-1 to us-east-2. UE1 is a mess lately 😕 did anyone else have S3 issues today?
a
Most of us regard us-east-1 as the beta region. (All new stuff lands there first.) I only use it for the few things that must be managed there, like CloudFront.
s
CloudFront doesn’t work in other regions?
oh, CloudFront is “global” like S3
a
It's managed through us-east-1, and then distributed from there. (Last I knew, S3 was as well.) Lambda@Edge is more obviously only deployable to us-east-1.
s
hmm. most things seem fairly straightforward to move over, except Cognito
a
In other words, "global" = us-east-1 for managing, but then it operates all over the place. That's my impression anyhow (again transparent with Lambda@Edge), I don't know that it's documented anywhere.
s
yeah, that sounds right
d
I would recommend to not use us-east-1 is the oldest and messiest and biggest region of AWS
s
I wonder how easy it would be for me to seamlessly move my whole stack to USE2
d
thanks to sst and CDK maybe easier 😁
you have already production stuff in us-east-1?
s
yeah. we can have VERY minimal downtime, like maybe 30 mins or so
d
well it really depends on the complexity of your architecture
s
Cognito is the toughest one, probably. not really sure if users can just be moved over to another region
API Gateway might be challenging since I’m using custom domains
the Lambdas are no big deal, neither is the DB
d
maybe on the second you can play with the CDN
sorry I meant DNS 🤦‍♂️
s
that’s true.. actually the API Gateway custom domains don’t really mean anything besides telling the API endpoint what hostnames are allowed to make requests. Route 53 does the rest of the work. so I can just point that wherever
s
I’ll have to talk to AWS support about Cognito
d
Sounds like painful 😞
s
yeah I saw that article before 😕 ugh
I should look up a history of outages for us-east-2
as far as I’ve heard, it’s been pretty solid
oh.. I’d have to move the buckets too I think. otherwise i’d incur costs moving data between us-east-1 and us-east-2. ugh
a
You can move easy stuff like Lambdas and DynamoDB but leave Cognito. It reduces your risk at least. Custom domain names can exceed your 30 minute downtime though. You can change it over quickly, but it can take hours to propagate to the world's DNS network.