Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7520455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T02:04:24+00:00 2026-05-30T02:04:24+00:00

We need to dynamically spin up EC2 instances for new customers, and assign them

  • 0

We need to dynamically spin up EC2 instances for new customers, and assign them a subdomain: customer1.mydomain.com, customer2.mydomain.com. I’d like to do this programmatically using the AWS SDK. I’d like to use Route 53 to assign the subdomains to instances.

Questions:

  1. Is it possible to point Route 53 at an instanceId, instead of an IP? Or do I also need to assign an elastic IP to each instance dynamically?

  2. What happens when the hardware crashes? I haven’t been able to figure out how to get CloudWatch and Auto Scaling to detect when an instance goes down, and then automatically spin up the (EBS-backed) instance on new hardware and reattach the subdomain.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T02:04:25+00:00Added an answer on May 30, 2026 at 2:04 am

    Yes, you can use Route53 to map DNS names to EC2 instances.

    1. Elastic IP address is the basic way to point to an EC2 instance in a permanent fashion. It can be associated with a replacement instance if you decide your original instance is no longer suitable, and it needs to be re-associated with the instance after stop/start (unless you’re in a VPC). When adding it to your DNS, I recommend using a CNAME to the Elastic IP address DNS name.

    2. Auto Scaling can automatically start a replacement instance if it detects that an instance has failed or is no longer passing the health check. However, it will not automatically re-associate Elastic IP addresses. You can combine Auto Scaling with Elastic Load Balancing to have a permanent DNS entry to access the healthy instance including any replacements. You would map your DNS entries as CNAME pointers to the ELB DNS name as described in the docs.

    I’m not sure how exactly your question title relates to the question body, but if you are interested in what stop/start does, I’ve written an article on all the ways it differs from simply rebooting an instance: Rebooting vs. Stop/Start of Amazon EC2 Instance

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We need to dynamically create (i.e. during runtime, via code-behind) UserControls and position them
I need to dynamically create com objects from an activex dll and each of
I need to dynamically create in PHP a drop-down list of numerical choices like
I have an HTML button that I need to dynamically assign to an AS3
I need to dynamically create a Video object in ActionScript 2 and add it
I need to dynamically generate radio or checkbox by jQuery. I use the following
I need to dynamically create textbox. This is my code, but with this I
I need to dynamically build a list of textboxes using javascript and jquery. The
I have a grid and I need to dynamically replace a control that resides
I have a GridView that I need to dynamically add TemplateField elements to. My

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.