From the course: Deploying Your AWS Application to the Cloud with Docker

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Key takeaways and best practices

Key takeaways and best practices - Amazon Web Services (AWS) Tutorial

From the course: Deploying Your AWS Application to the Cloud with Docker

Start my 1-month free trial

Key takeaways and best practices

- [Instructor] Here's a few best practices that I recommend you follow for your deployment strategy. If possible, use blue/green deployments since they give you the fastest rollback time when things go wrong. Consider canary deployments to test features with a small subset of your total users to reduce your overall deployment risk. Use an automated CI/CD process to deploy, build, and configure your container images. I encourage automation, but never use it to deploy directly to production. It's just too risky to deploy untested code to a live environment. Be sure to never include credentials or API keys in your CI/CD pipeline. Use a credential management tool, such as AWS Parameter Store. And finally, be sure to deploy the same production version to a test environment where your quality assurance team can perform their jobs without affecting your live statistics.

Contents