Preserve aws deployment state in a file and then use to redeploy.
How can we achieve following? Is there a command/cli for doing this:
Preserve aws deployment state in a file and then use to redeploy. Use this file to deploy and clean and then redploy to bring in same running instances and services. Can we use Sam or another command to save the state in a yaml or a similar file?
- command save-state <aws-state.yaml>
- command clean-existing-state //wipes and cleans off aws deployed state, can probably turn off or even remove
- command restore-state <aws-state.yaml>
- vim aws-state.yaml //manually make certain changes
- command clean-existing-state
- command restore-state <aws-state.yaml> //redploy updated state
If you want to define a repeatable deployment that you can use to manage your infrastructure, you've just defined cloudformation
While there are some attempts to turn existing infrastructure into CloudFormation, such as Cloudformer - it's quite difficult to do this reliably.
You can use Drift Detection to show where your infrastructure has changed
Amplify diff deploy: how to only redeploy on changes to a part of a monorepo?asked 3 months ago
No option to retry failed App Runner service deploymentsasked a month ago
QuickSight: how to use data hosted on SharePoint?asked 5 months ago
Cross account ecs fargate blue/green deploy from code pipelineasked 6 months ago
Preserve aws deployment state in a file and then use to redeploy.asked a month ago
how to automatically deploy a code to ecs in AWS pipelineasked 5 months ago
How to deploy 4 lambdas in typescript using a code pipeline ?asked 2 months ago
How to handle failed lambda functionsasked 2 months ago
How does AppConfig service figure out the targets for a deployment?asked 2 years ago
CodeDeploy, deployment failed after EC2 changed instance typeasked 3 years ago