Skip to content

Settings for Apple's Account driven user enrollment configuration.

-1

I want to configure Account driven user enrollment with AWS and Jumpcloud. https://jumpcloud.com/support/configure-account-driven-enrollment https://support.apple.com/en-in/guide/deployment/dep4d9e9cd26/web I tried to create a hosted zone in route 53, S3 bucket, ACM Cert for SSL, Cloudfront distribution. I was able to successfully configure it, but in other case scenario where a record in my route 53 points to my website, I can point it to my CF distribution which means I'd need a subdomain for mdm which is inconvenient. How can I use the root domain for both website and ADUE service?

1 Answer
0

When you want to use your root domain for both your website and Apple's Account Driven User Enrollment (ADUE) service, you can accomplish this by properly configuring your CloudFront distribution and Route 53 records.

For your scenario, you'll need to set up:

  1. A CloudFront distribution that can handle both your website content and the ADUE service endpoints
  2. Appropriate Route 53 alias records that point your root domain to this CloudFront distribution

To configure this:

  1. In Route 53, create an alias record for your root domain (without any prefix) that points to your CloudFront distribution:
  • Leave the "Record name" field blank (for the root domain)
  • Select "A - Routes traffic to an IPv4 address and some AWS resources" as the record type
  • Turn on "Alias"
  • Choose "Alias to CloudFront distribution" and select your distribution
  • Choose the us-east-1 Region
  • Set "Evaluate target health" to "No"
  1. Configure your CloudFront distribution to handle different paths appropriately:
  • Set up behavior rules in your CloudFront distribution to route different URL paths to the appropriate origins (your website content vs. ADUE service endpoints)
  • You can use path patterns in CloudFront to direct traffic to different origins based on the URL path

This approach allows you to use your root domain for both services without requiring a separate subdomain for MDM. The CloudFront distribution will act as the front door for all traffic, and then route requests to the appropriate backend service based on the URL path.

If you're experiencing issues with the "Login pages unavailable" error when using Cognito with a custom domain, ensure that you've properly set up the CloudFront distribution and that DNS propagation has completed. Sometimes it can take up to an hour for changes to fully propagate.
Sources
Cognito : After ading custom domain "View login page URL doesnt work" | AWS re:Post
Use an Amazon CloudFront distribution to serve a static website - Amazon Route 53

answered a year ago

  • Would you be able to help me with the steps to configure cloudfront distribution to point it both website and mdm?

  • I tried this method too, but my website is not accessible with either 404 or 503 error.

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.