CodeDeploy In-Place Deployments to EC2 with AppSpec Lifecycle Hooks

Deploy a web release to a fleet without SSH. You package an AppSpec with install, start and validation hooks, create a deployment group by tag with a one-at-a-time configuration, and roll forward with automatic rollback on failure.

Level: Advanced · Time: about 55 minutes · Region: us-east-1

AWS services you'll use

What you'll do in this lab

  1. Package the revision
  2. Create the application and deployment group
  3. Deploy v1
  4. Ship a broken v2 and watch the rollback
  5. Verify the solution end to end

Each task is checked against your live AWS account. Step-by-step instructions, hints and verification unlock when you start the lab.

Before you start

How the lab works

  1. Get a real, temporary AWS account locked to one region. No AWS account of your own needed.
  2. Build in the real AWS console with a guide beside it, and hints when you are stuck.
  3. Verify every task: we check the resources in your live account.
  4. Automatic cleanup: everything is deleted when you stop, and nothing is billed to you.

Questions about this lab

Do I need my own AWS account?

No. When you start the lab, Cloud Arena gives you a real, temporary AWS account with its own login, locked to one region. You work in the real AWS Management Console, not a simulator.

Will AWS charge me anything?

No. Cloud Arena pays for the AWS resources, and everything you create is deleted automatically when you stop the lab or the session ends. Nothing is billed to you by AWS.

How long does the CodeDeploy In-Place Deployments to EC2 with AppSpec Lifecycle Hooks lab take?

Plan for about 55 minutes. The session timer is shown on screen, and every task is checked against your live AWS account when you click Verify.

How do I get access to this lab?

It is included in the AWS Certified DevOps Engineer – Professional plan: a one-time payment for every lab in the path, 2 attempts per lab and a 7-day money-back guarantee. You can also start with the 5 free labs.

Does this lab help with the DevOps Engineer – Professional (DOP-C02) exam?

Yes. It is part of the AWS Certified DevOps Engineer – Professional path, which covers the hands-on skills behind the exam. Doing the task in a real account is what makes the questions easier to reason about.

Related AWS labs

Start free · 5 free AWS labs · All labs