Skip to content

Connect on-prem AD to VPC, is it a AD connector required?

0

A company’s solutions architect needs to provide secure Remote Desktop connectivity to users for Amazon EC2 Windows instances that are hosted in a VPC. The solution must integrate centralized user management with the company's on-premises Active Directory. Connectivity to the VPC is through the internet. The company has hardware that can be used to establish an AWS Site-to-Site VPN connection.

Which solution will meet these requirements MOST cost-effectively?

A. Deploy a managed Active Directory by using AWS Directory Service for Microsoft Active Directory. Establish a trust with the on-premises Active Directory. Deploy an EC2 instance as a bastion host in the VPC. Ensure that the EC2 instance is joined to the domain. Use the bastion host to access the target instances through RDP.

B. Configure AWS IAM Identity Center (AWS Single Sign-On) to integrate with the on-premises Active Directory by using the AWS Directory Service for Microsoft Active Directory AD Connector. Configure permission sets against user groups for access to AWS Systems Manager. Use Systems Manager Fleet Manager to access the target instances through RDP.

C. Implement a VPN between the on-premises environment and the target VPC. Ensure that the target instances are joined to the on-premises Active Directory domain over the VPN connection. Configure RDP access through the VPN. Connect from the company’s network to the target instances.

D. Deploy a managed Active Directory by using AWS Directory Service for Microsoft Active Directory. Establish a trust with the on-premises Active Directory. Deploy a Remote Desktop Gateway on AWS by using an AWS Quick Start. Ensure that the Remote Desktop Gateway is joined to the domain. Use the Remote Desktop Gateway to access the target instances through RDP.

asked a year ago676 views
4 Answers
4
Accepted Answer

Hello.

To securely connect your Amazon EC2 Windows instances to your on-premises Active Directory, and allow RDP access.

Fellow below steps.

1. Set Up a VPN Connection

  • Create a Site-to-Site VPN between your on-premises network and the AWS VPC. This allows your EC2 instances to communicate with your on-premises Active Directory securely.

  • Use your existing hardware to set up the VPN connection to AWS.

2. Join EC2 Instances to On-Premises AD

  • After establishing the VPN, join your EC2 Windows instances to your on-premises Active Directory domain. This allows you to manage users and permissions centrally.

3. RDP Access Over VPN

  • Configure your Remote Desktop (RDP) access through the VPN connection. This way, users can securely access the EC2 instances from your on-premises network.

4. Security Group Configuration

  • Ensure that the security groups associated with your EC2 instances allow RDP traffic (port 3389) only from your on-premises IP range.

https://aws.amazon.com/blogs/security/how-to-connect-your-on-premises-active-directory-to-aws-using-ad-connector/

https://aws.amazon.com/blogs/security/how-to-configure-your-ec2-instances-to-automatically-join-a-microsoft-active-directory-domain/

EXPERT
answered a year ago
EXPERT
reviewed a year ago
EXPERT
reviewed a year ago
3

Hi,

I would strongly suggest that you study the solution that was designed to do what you want: AWS IAM Identity Center: https://aws.amazon.com/iam/identity-center/

Speccifically for AD, see

By doing this integration, you existing AD will become your identity manager (authentication) for your AWS security principals for policies that you define in IAM (authorizations)

Best,

Didier

EXPERT
answered a year ago
EXPERT
reviewed a year ago
EXPERT
reviewed a year ago
1

Option C: Implement a VPN between the on-premises environment and the target VPC. Ensure that the target instances are joined to the on-premises Active Directory domain over the VPN connection. Configure RDP access through the VPN. Connect from the company’s network to the target instances.

Explanation:

Cost-Effectiveness: This option avoids the need to deploy additional managed services like AWS Directory Service for Microsoft Active Directory or Remote Desktop Gateway, which could incur significant costs. Instead, it uses the existing on-premises Active Directory and establishes a Site-to-Site VPN connection, which is a more cost-effective solution for securely extending the on-premises network to the VPC.

Centralized User Management: By joining the target instances directly to the on-premises Active Directory, user management and authentication can be centrally managed without needing additional AD infrastructure in AWS.

Security: RDP access is secured through the VPN connection, ensuring that RDP traffic does not traverse the public internet.

https://aws.amazon.com/blogs/security/how-to-connect-your-on-premises-active-directory-to-aws-using-ad-connector/

EXPERT
answered a year ago
EXPERT
reviewed a year ago
1

Heyy..isaac

For connecting the on-premises Active Directory (AD) to a VPC in a cost-effective way while providing secure RDP access to EC2 Windows instances, the best solution is:

C. Implement a VPN between the on-premises environment and the target VPC. Ensure that the target instances are joined to the on-premises Active Directory domain over the VPN connection. Configure RDP access through the VPN. Connect from the company’s network to the target instances.

This option leverages the existing on-premises AD for centralized user management without requiring additional AWS services like a managed AD or AD Connector, making it more cost-effective. By using the VPN, you establish a secure connection for RDP access and ensure integration with your on-premises AD.

refer for official docs https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html

https://docs.aws.amazon.com/pdfs/whitepapers/latest/aws-vpc-connectivity-options/aws-vpc-connectivity-options.pdf

EXPERT
answered a year ago
EXPERT
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.