AWS CodeDeploy

AWS CodeDeploy

  1. Access to AWS CodeDeploy

    • Select Create application

CodeBuild

  1. In the Create application interface

    • For Application name, enter AWS-FCJ-APP
    • For Compute platform, we will choose EC2/On-Premises

CodeBuild

  1. We will create Deployment groups to implement the application deployment.

CodeBuild

  1. Configure Deployment group

    • Enter Deployment group name
    • Enter Service role

CodeBuild

  1. For Deployment type

    • We will choose In-place
    • For deployment environment is Amazon EC2 instances
    • Select by tag group, select the keys and values ​​suitable for EC2 that you want to use to deploy the application.

CodeBuild

  1. For installation Install AWS CodeDeploy Agent

    • We will choose Nerver
    • For Deployment settings, select CodeDeployDefault.OneAtATime
    • Select Create deployment group

CodeBuild

  1. Finish creating Deployment group

CodeBuild

  1. We will return to Applications

    • Select the prepared application.
    • Select Deploy application

CodeBuild

  1. We will provide Create deployment information

    • Use Deployment group
    • Select Revision type
    • And for Revision location choose the lead of S3 bucket
    • File format will be .zip

CodeBuild

  1. Double check and select Create deployment

CodeBuild

  1. After a period of about 5 minutes.
  • We will complete the deployment.

CodeBuild

  1. We’ll take a look at the deployment history.

CodeBuild

  1. Access the application via DNS of EC2 via https://ec2-18-141-13-141.ap-southeast-1.compute.amazonaws.com/.

CodeBuild CodeBuild

Remember to access the link with http instead of https

CodeBuild