DEPLOYING A SITE USING AWS CODESTAR SERVICE USING AWS CODECOMMIT | CODEPIPLINE

About AWS CodeStar

AWS CodeStar enables you to quickly develop, build, and deploy applications on AWS. AWS CodeStar provides a unified user interface, enabling you to easily manage your software development activities in one place. With AWS CodeStar, you can set up your entire continuous delivery toolchain in minutes, allowing you to start releasing code faster. AWS CodeStar makes it easy for your whole team to work together securely, allowing you to easily manage access and add owners, contributors, and viewers to your projects. Each AWS CodeStar project comes with a project management dashboard, including an integrated issue tracking capability powered by Atlassian JIRA Software.

GENERATE KEYPAIR

Click on AWS KeyPair option and generate a new key pair which we will be using in our configuration or AWS CODESTAR.

DEPLOYING A HTML WEBSITE USING AWS CODESTAR IDE

From EC2 services just open AWS CodeStar , click on CREATE PROJECT option.

Under next screen click on Create Service Role

After choosing the service role click templates option and choose HTML5 click Next.

Under next screen give required details about the CodeStar project setup.

  • Project name
  • Project repository (AWS CodeCommit)
  • EC2 Configuration details
    • Instance type
    • VPC
    • Subnet details
    • Key pair name

Once all project details care provide click on next and the click on Create Project option.

AWS CodeStart first time project creation takes some 5-10 minutes of time so we have to wait till the project  creation gets completed. Once the project is completed it should show Project Provisioned.

Under Provisioned AWS Codestart project we should get below tabs.

IDE , REPOSITORY , PIPELINE , MONITORING , ISSUES

Click on pipeline tab it should show first pipeline is deployed and success status for (Source , Build and Deploy)

At Top click on VIEW APPLICATION option

It should take us to the newly HTML application deployed.

DOING A SAMPLE COMMIT TO CHECK AUTO BUILD AND DEPLOYMENT

Go to codecommit repository under AWS CodeStar change the line number 61 to “Testing Sample Commit for Auto build and Deploy” commit the changes.

Once the new code is deployed automatically we can browse the application an see the changes.

Leave a Reply