GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - abel30567/AWS_CodeDeploy_Example: This is a guide to host a site from an EC2 instance to a github repository index.html file.

BranchesTags
Open more actions menu

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
scripts
scripts
 
 
IAM.txt
IAM.txt
 
 
README.md
README.md
 
 
appspec.yml
appspec.yml
 
 
index.html
index.html
 
 

Repository files navigation

AWS_CodeDeploy_Example


Please make sure that you add the following files to your project for this to work
     appspec.yml
     the entire scripts folder
Tutorial

1. Create IAM Roles
CodeDeploy & EC2CodeDeploy
2. Create EC2 instance with following categories

     a. Choose AMI: Amazon Linux AMI

     b. Choose Instance type: t2.micro

     c. Configure Instance: Choose EC2CodeDeploy IAM role

     d. Tag Instance: Name it what you please

     e. Configure Security Group:

         HTTP TCP 80 0.0.0.0/0

         HTTP TCP 80 ::/0

         SSH TCP 22 (YOUR IP ADDRESS)

         HTTPS TCP 443 0.0.0.0/0

         HTTPS TCP 443 ::/0

     f. LAUNCH INSTANCE

3. Login to EC2 instance

4. Command line of Amazon Linux AMI

     a. When server is booted

          sudo su

          yum -y update

          yum install -y aws-cli

          cd /home/ec2-user

     b. Here you will setup your AWS access, secret, and region.

          aws configure

          aws s3 cp s3://aws-codedeploy-us-east-1/latest/install . --region us-east-1 (if in east AWS)

          aws s3 cp s3://aws-codedeploy-us-west-2/latest/install . --region us-west-2 (if in west AWS)

          chmod +x ./install

     c. This is simply a quick hack to get the agent running faster.

          sed -i "s/sleep(.*)/sleep(10)/" install

          ./install auto

     d. Verify it is running.

          service codedeploy-agent status

About

This is a guide to host a site from an EC2 instance to a github repository index.html file.

Resources

Readme
Activity

Stars

24 stars

Watchers

4 watching

Forks

115 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.