aws_code_deploy_example's Introduction
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
aws_code_deploy_example's People
Forkers
cx525vRecommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.