GithubHelp home page GithubHelp logo

aws_code_deploy's Introduction

aws_code_deploy

Steps for AWS code deploy using S3 as source

  1. Create IAM Roles - CodeDeploy & EC2CodeDeploy

  2. Create EC2 instance with the following software packages should install

  3. Choose AMI: Amazon Linux 2
    alt text

  4. Choose AMI role as EC2CodeDeploy
    alt text

  5. Choose User Data: for installing required packages.
    #!/bin/bash
    sudo yum -y update
    sudo yum -y install ruby
    sudo yum -y install wget
    cd /home/ec2-user
    wget https://aws-codedeploy-ap-south-1.s3.ap-south-1.amazonaws.com/latest/install
    sudo chmod +x ./install
    sudo ./install auto
    sudo yum install -y python-pip
    sudo pip install awscli

    alt text

  6. Security groups: which enable port SSH port 22 and HTTP 80 for application
    alt text

  7. Add tags to your EC2 instance
    alt text

  8. Launch instance

  9. Makesure that your bucket should enabled version
    alt text

  10. Goto CodeDeploy Create Application

  11. Create a DeploymentGroup

  12. Moving Your Application Into GitHub
    for more details Click Here If the application files that you want to deploy are not already in a GitHub repository, you’ll need to set that up. Here’s how you can do it with the getting started sample application. First, download the application files. These examples use Linux / Unix commands.

mkdir codedeploy-sample
cd codedeploy-sample
curl -O http://s3.amazonaws.com/aws-codedeploy-us-east-1/samples/latest/SampleApp_Linux.zip

You can upload SampleApp_Linux.zip file on S3 for further automatic deployment on CodeDeploy Pipeline

aws_code_deploy's People

Contributors

prabhakar2020 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.