...

/

Creating an Application and a Deployment Group

Creating an Application and a Deployment Group

Learn how to create an application and a deployment group.

Introduction

We are required to create an application and a deployment group as part of the steps to create a CodeDeploy project. A deployment group needs to be created before we can use CodeDeploy to deploy our application.

Creating an application

An application is a container used to store our revisions, deployment history, and deployment group. A unique name is usually given to identify the application to deploy.

Note: Please note that the region is set as us-east-1 in this course. Therefore, your resources will be created in that region. You will not be able to create resources in any other region.

To create an application using the AWS CLI, we can use the create-application command as shown below:

Press + to interact
aws deploy create-application --application-name myFirstApplication --compute-platform Server --region us-east-1

The command expects the below parameter:

application-name: This is the name of the application.

It also accepts other optional parameters.

There are different ways we can manage our CodeDeploy applications. Some of the other commands we can use include the following:

  • delete-application: This is used to delete an application.
  • get-application:
...