料金など

手順

  1. EC2/CodeDeployに権限を付与
  2. CodeDeploy Agentインストール
  3. appspec.yml

チュートリアル

https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-simple-s3.html#s3-create-s3-bucket

S3の作成

IAM Roleの作成

EC2向けに作成(信頼サービス EC2)

CodeDeploy向けに作成(信頼サービス Code Deploy)

Agent 手動インストール

sudo yum update
sudo yum install ruby
sudo yum install wget
cd /home/ec2-user
wget https://aws-codedeploy-ap-northeast-1.s3.ap-northeast-1.amazonaws.com/latest/install
chmod +x ./install
sudo ./install auto

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS