forked from SheyNjila1/Assignments
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCodeCommitCodePipeline.txt
More file actions
49 lines (33 loc) · 1.02 KB
/
CodeCommitCodePipeline.txt
File metadata and controls
49 lines (33 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Create a user with CodeCommit/CodePipeline Full Access
Create security credentials for above user
Create service role for Code Deploy - RetailCodeDeploy
Create service role for Ec2 to download from s3 - RetailEc2ToS3Read
DownLoad and Install Git
Configure Git on local
Create a Repo in CodeCommit
Clone the Repo
git clone ""
Create Ec2 machine (linux with below command)
Assign RetailEc2ToS3Read to this instance
Assign Tags to Machine (Same Tag will be used by CodeDeploy)
Create Application in CodeDeploy
Create New Application
Create Deployment Groups
Create Pipeline
#!/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
AWS SWF
Cognito
Auto Scaling
Q & A (Interview questions on developer level)
ECS/Fargate
Terraform
Kinesis Scenario