View Instance Details with AWS CodeDeploy
You can use the AWS CodeDeploy console, the AWS CLI, or the AWS CodeDeploy APIs to view details about instances used in a deployment.
View Instance Details (Console)
To view instance details:
Sign in to the AWS Management Console and open the AWS CodeDeploy console at https://console.aws.amazon.com/codedeploy.
Sign in with the same account or IAM user information you used in Getting Started.
On the AWS CodeDeploy menu, choose Deployments.
If no entries are displayed, make sure the correct region is selected. On the navigation bar, in the region selector, choose one of one of the regions listed in Region and Endpoints in the AWS General Reference. AWS CodeDeploy supports these regions only.
To display deployment details, choose the arrow next to the deployment ID that corresponds to the instance.
In Instances, choose View all instances.
To see information about individual deployment lifecycle events for an instance, on the deployment details page, in the Events column, choose View events.
If Failed is displayed for any of the lifecycle events, on the instance details page, choose View logs, View in EC2, or both. You can find troubleshooting tips in Troubleshoot Instance Issues.
If you want to see more information about an Amazon EC2 instance, but View in EC2 is not available on the instance details page, return to the deployment details page, and in the Instance ID column, choose the ID of the Amazon EC2 instance.
View Instance Details (CLI)
To use the AWS CLI to view instance details, call either the
get-deployment-instance command or the
To view details about a single instance, call the get-deployment-instance command, specifying:
To view a list of IDs for instances used in a deployment, call the list-deployment-instances command, specifying:
The unique deployment ID. To get the deployment ID, call the list-deployments command.
Optionally, whether to include only specific instance IDs by their deployment status. (If not specified, all matching instance IDs will be listed, regardless of their deployment status.)