SDLC Automation

A company will use CodeDeploy to deploy to an on-premises Linux server that cannot use an EC2 instance profile. The company selects the supported IAM-user authentication method. What configuration is required on the server?

Show the answer

Correct answerB. Register it with CodeDeploy and configure the agent with the IAM user's credentials and Region.

AWhy not this: Systems Manager activation credentials register a managed node; they are not CodeDeploy agent credentials.

BWhy this is right: Registration and matching IAM-user agent configuration establish the server's CodeDeploy identity and regional connection.

CWhy not this: ECS external-instance registration supports ECS Anywhere, not CodeDeploy on-premises agent authentication.

DWhy not this: An on-premises server cannot use EC2 registration, and the CodeDeploy service role is not the agent's identity.

An on-premises CodeDeploy target must be registered and its agent configured for the selected authentication method, including IAM-user credentials and Region. Systems Manager hybrid registration is separate and does not establish CodeDeploy on-premises identity.