The AWS App Runner is ready in ap-southeast-1 (Singapore). If you want to learn more about the news, please visit this page.
Roadmap
I want to deploy my open-source application named Simple Password Manager Service to AWS. I have tried deploying to Beanstalk and ECS, but those services don't fit my requirements. I want to have managed service and have an HTTPS connection by default. I can use Beanstalk and ECS, but I need to address the Load Balancer to use HTTPS. Currently, I don't want to control the Load Balancer myself. I want a service like AWS App Runner, but previously only available for limited regions. I believe this is the perfect time to use AWS App Runner!
I want to separate the steps into three steps. First, I want to regularly deploy to ECR. Second, I want to create the AWS App Runner and setup the deployment to use the latest version. Lastly, I will setup the deployment by tags to have more stable versions.
Deploying ECR using Azure DevOps
Preparing ECR Repository
I created ECR using AWS CDK. I don't have any plan to have the automation for creating/updating/deleting the AWS CDK, but I might consider it for later. I have created the private ECR with this code.
Please refer to this cool post to set up your Azure DevOps with the AWS IAM Account. You are required to install the AWS Toolkit for Azure DevOps extension and set up the Service Connection.
flowchart TD
A[Install AWS CDK CLI] --> B(CDK Synth)
B --> C[Docker Build]
C --> D{Is Running in Main?}
D -->|Yes| E[Push to ECR]
D -->|No| F[End]
E --> G[CDK Deploy]
G --> F
Thank you for reading! If you have any feedback, feel free to comment on this post. I'm going to post about my second step in the next post. Stay tuned!