A company is reviewing the security configuration of an existing hybrid application. The application runs on physical servers in an on-premises data center and connects to AWS over an AWS Direct Connect connection. Currently, the on-premises servers retrieve database credentials from AWS Secrets Manager and upload backup files to an Amazon S3 bucket. Authentication is handled using long-term IAM user access keys stored locally in configuration files, and all API calls traverse the public internet. A Solutions Architect must strengthen the security posture by implementing passwordless authentication for the servers and ensuring that all network traffic to AWS services remains private and does not traverse the public internet.
Which two actions should the Solutions Architect take to meet these requirements?
- Configure AWS IAM Roles Anywhere by establishing a trust anchor with the on-premises Private Certificate Authority (CA) and creating a role profile, and install the IAM Roles Anywhere credential helper on the on-premises servers to exchange X.509 certificates for short-lived IAM session credentials.Cevap
- Create Interface VPC Endpoints for Amazon S3 and AWS Secrets Manager in the VPC, and configure Route 53 Resolver inbound endpoints to allow the on-premises DNS servers to resolve the AWS service endpoints to the private IP addresses of the interface endpoints.Cevap
- CConfigure AWS IAM Identity Center and set up a SAML 2.0 federated trust relationship, and run a scheduled cron job on the on-premises servers to execute the aws sso login command non-interactively using saved user credentials to retrieve temporary credentials daily.
- DCreate Gateway VPC Endpoints for Amazon S3 and AWS Secrets Manager in the VPC, and update the on-premises route tables to route all traffic for these services directly to the Gateway Endpoint IP addresses over a Private Virtual Interface.
- EEnable AWS KMS encryption for the Secrets Manager secrets using the default AWS managed key (aws/secretsmanager), and modify the KMS key policy to delegate decryption permissions to the IAM entities representing the on-premises servers.