Getting Started with AWS CodeStar
Getting Started with Aws CodeStar

Introduction

AWS CodeStar is a service that helps to create, manage, and work with software development projects on AWS. This service helps you to quickly develop applications, build applications, and deploy applications on AWS. It is merely a team-ready with built-in roles for the members to allow collaboration between the viewers, owners, and contributors. And it helps simplify DevOps processes, and to do that, it brings multiple AWS DevOps Services under one roof.
CodeStar can have the benefits of following CI/CD services in AWS:

  • AWS CodeBuild, for building the code.
  • AWS CodeDeploy, for deploying the code.
  • AWS CodeCommit, for version control.
  • AWS CodePipeline, for building CI/CD Pipelines.

Using a project, you can create and integrate the AWS services for the software development toolchain. The project template may include build, deploy, source control, virtual servers or serverless resources, and more. 

In this article, we will be using an AWS CodeStar project template to create the project.
To develop your own AWS CodeStar Project, please refer to this article How to build and deploy a project with AWS CodeStar using CLI.

Prerequisites

  • AWS Login Credentials.
  • IAM role should have full access to AWS CodeStar.
  • IAM role should have full access for EC2 and CodeCommit

Steps to Create a AWS CodeStar Project in Console

  • Login into the AWS Management Console and Open the AWS CodeStar.
  • Select the region where you want to create the CodeStar Project.
  • On the AWS CodeStar page, click on Create a new project.
    Note: If you are the first user to create a project then select Start a project.
  • Template: On this project template page, choose the project type from the list of AWS CodeStar project templates.
    Note: We are using a Node.js template with Web services and Amazon EC2.
  • Use the filter to choose the templates by selecting the checkboxes of the technologies you require.
  • Enter the Project name e.g., zehncloud_codestar_project. The project id is based on this project name, and by default, it is limited to 15 characters.
    ​​​​​​​Note: Project IDs must be unique for each AWS account in a Region.
  • Select the repository provider for the repository name, either CodeCommit or Github. In this document, we have chosen AWS CodeCommit.
  • Click on Next.
  • Review the configuration details and resources of your project.
  • By default, the checkbox of AWS CodeStar would like permission to administer AWS resources on your behalf is selected so that you can create a project.
  • Edit the Amazon EC2 configuration if your project is deployed on the EC2 instance, and you want to make any changes
  • Click on the Save button to save the latest changes.
  • Select an existing key pair from the drop-down list and acknowledge that you have access to the private key file and hit Create Project.​​​​​​​It might take a few minutes to create the project, including the repository.
a screenshot of a cell phone

Conclusion

In the above document, you have learned what is CodeStar and how it is used to build, develop, and deploy codestar project. How we can use other AWS services like CodeDeploy, CodeBuild, CodeCommit, etc. What are the benefits of CodeStar and how we can use the template to build a project? Hope this article helped you to explore all about CodeStar.


Related Posts