hands-on lab

Develop and Deploy an Application with AWS CodeStar

Difficulty: Beginner
Duration: Up to 1 hour and 20 minutes
Students: 3,203
Rating: 4.7/5

AWS will end support for AWS CodeStar projects on July 31, 2024, and new CodeStar users can no longer create CodeStar projects. Refer to the official AWS CodeStar page for the official announcement.

Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

AWS CodeStar is a development service that lets you focus on development while AWS CodeStar takes care of the source repository, builds, and deployments. It is team-ready with built-in roles for members to allow collaboration between owners, contributors, and viewers. AWS CodeStar includes an integrated project dashboard to easily understand the state of the project. All you need to do to begin is choose a project template that closely matches your needs. Then your development project will automatically leverage the highly available and scalable services provided by AWS.

This Lab takes you through getting a project started and illustrates the stages of an application's lifecycle in AWS CodeStar. The source control, automated build, and deployment capabilities are all included. You will also set up your AWS CodeStar project with members of a team to see how AWS CodeStar handles collaboration.

Note: AWS will be discontinuing support for new AWS CodeStar projects on the 31st of July 2024. After that date, this lab will no longer be available.

Lab Objectives

Upon completion of this Lab you will be able to:

  • Create AWS CodeStar projects
  • Monitor project activity
  • Develop and deploy code using AWS CodeStar
  • Manage teams inside of AWS CodeStar projects

Lab Prerequisites

You should be familiar with the following:

  • Connecting to EC2 instances
  • Working on the Linux command-line
  • Basic Git command knowledge is beneficial but not required

The following course and lab can be used to learn more about Git and the Linux command-line:

Updates

October 10th, 2023 - Resolved Node.js issue

June 12th, 2023 - Resolved an issue that caused the lab to fail to provision on rare occasions

December 19th, 2022 - Updated the instructions and screenshots to reflect the latest UI

September 6th, 2022 - Updated the instructions and screenshots to reflect the latest UI

December 24th, 2020 - Updated to match the latest AWS Console experience

September 15th, 2020 - Fully updated the UI of the lab due to the AWS console changes

May 24th, 2020 - Updated instructions and screenshots, and migrated to EC2 Instance Connect

June 18th, 2019 - Updated the Lab security policy to allow for new IAM permissions required to download Codestar toolchain templates

January 10th, 2019 - Added a validation Lab Step to check the work you perform in the Lab

Environment before

Environment after

Covered topics

Lab steps

Logging In to the Amazon Web Services Console
Creating an AWS CodeStar Project
Connecting to the Virtual Machine using EC2 Instance Connect
Touring the AWS CodeStar Project Website
Developing Your AWS CodeStar Project
Deploying Your AWS CodeStar Project
Managing Your AWS CodeStar Project Team
Cleaning Up Your AWS CodeStar Project