Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: How do you handle in-place cloud upgrades or parallel cloud migrations?
2 points by cloudguruab 82 days ago | hide | past | favorite | 2 comments



I hope you're using some kind of Infrastructure as Code (IaC) tool, like CloudFormation or Terraform.

Second, if it's a major change, I might begin with a clean slate, instead of trying to make sweeping changes to the existing environment.

Configuration management (CM) isn't something to add at the end. I tend to use AWS SecretsManager to store a .env file for each "environment" and "role" - like staging.env and production.env, and staging.webapp.env and production.webapp.env. The files can be requested and loaded during the initialization phase (startup) of a container or server or service.

And security is important to consider at the beginning as well. Bastion hosts, deployment strategies, network security (firewalls and open ports), and user management (IAM) must be considered.

ChatGPT is pretty good at helping with such tasks, but it does hallucinate frequently so keep the CloudFormation documentation open and refer to it often.


Makes sense, what about individual workload migrations tho? Right now I'm looking for something that can act as a push button solution, I've factored in relevant down-time needed for our customers but whats the best approach to migrating individual workloads? I sadly deployed most of our VMs using ephemeral disk and users store apps & data on this disk... running roughly 20 gigs on each VM.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: