Fast AWS Amplify Console rollbacks with blue/green deploys

echo "Pushing previous commit to main-minus-one branch for instant rollback: \$(git rev-parse HEAD^1)"git push https://\${githubToken}:x-oauth-basic@github.com/org/repo \$(git rev-parse HEAD^1):main-minus-one --force
aws amplify update-domain-association --app-id abcde12345 --domain-name example.com --sub-domain-settings prefix=www,branchName=main-minus-one
aws amplify update-domain-association --app-id abcde12345 --domain-name example.com --sub-domain-settings prefix=www,branchName=main

--

--

--

Senior SRE @getsentry

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Concave——fork or spoon? Defi3.0?

Google Spanner vs. Calvin: Is There a Clear Winner in the Battle for Global Consistency at Scale?

A GLIMPSE AT THE ONGOING XENDFINANCE TESTNET

Dynamic Configuration of Target nodes using variable files named same as OS using Ansible

Madman, an open-source Ads Framework for Android

Use layer to get a smaller AWS lambda Java deployment

by: nickmorrison https://unsplash.com/@nickmorrison

Microsoft Edge Browser For Macos

SFPC Fall 2019: Bootcamp week

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Michael Warkentin

Michael Warkentin

Senior SRE @getsentry

More from Medium

Deploying a parcel-bundled static web app to S3/Cloudfront via CodePipeline

Cloud Design for Serverless Application (Like Lambda)

AWS cloud design for a serverless approach where Frontend and backend both are available, so how can we providde the architechture to stake holders

Centrally managing your AWS Authentication and permissions within a multi-account setup: part 2

Implementing trust for your enterprise API’s