LoginSignup
1
0

More than 1 year has passed since last update.

CodeDeployでEC2をデプロイするための設定作業

Posted at

CodeDeployでEC2をデプロイできるように、事前の設定作業が必要なので、大まかな流れだけをまとめてみた。

EC2側の設定

CodeDeployエージェント

CodeDeploy agentを起動しているか

sudo systemctl status codedeploy-agent

CodeDeployログの確認

sudo tail -f /var/log/aws/codedeploy-agent/codedeploy-agent.log
sudo tail -f /opt/codedeploy-agent/deployment-root/deployment-logs/codedeploy-agent-deployments.log

CodeDeploy側の設定

  • アプリケーションの作成
  • デプロイグループの作成
    EC2に設定したタグでデプロイ対象を指定する

参考

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0