QuestionQ40

SDLC Automation

A development team is creating a full-stack serverless web application. The serverless application will include a backend REST API and a front end built with a single-page application (SPA) framework.

The team wants to use a Git-based workflow to develop and deploy the application. The team has created an AWS CodeCommit repository to store the application code. The team wants to use multiple development branches to test new features. Additionally, the team wants to ensure that code changes on the development branches are deployed to separate development environments. Changes to the main branches must be automatically released to production.

The development deployments must be accessible as a subdomain of the main application website, which is hosted in an Amazon Route 53 public hosted zone.

What should a DevOps engineer do to meet these requirements?

Explanation

AWS Amplify Hosting supports continuous deployment from AWS CodeCommit and branch-based environments, allowing connected development branches to deploy independently while a production branch deploys automatically. For an application connected to a Route 53-managed custom domain, Amplify can automatically create a subdomain for each newly connected branch, such as dev.example.com.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!