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 8672945
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:19:45+00:00 2026-06-12T19:19:45+00:00

I recently used swap environmental URL to upgrade my Elastic Beanstalk application, using two

  • 0

I recently used swap environmental URL to upgrade my Elastic Beanstalk application, using two environments. I have a CNAME record at a different URL mapped to the beanstalk URL. I tried then to push to the production environment(which now was at the test URL), and then swapped again, but this seemed to not work correctly.

I would expect the swap to map the test environment to the production URL, meaning that when I was previously pushing to the test environment to test, now I should push to the production environment, then swap to make another zero-downtime upgrade. This can be very confusing, so I was hoping someone can shed light on this, as there seems to be adearth of information about Elastic Beanstalk and swapping URLs.

  • 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-06-12T19:19:47+00:00Added an answer on June 12, 2026 at 7:19 pm

    URL swap is a simple operation of exchanging CNAMEs between two Green/Ready environments. It has nothing to do with Route 53 (or any other DNS). The only thing that it does is just exchanging of two CNAMEs. For example, you have one environment foo-1 with CNAME foo-1.example.com, and another one foo-2 with CNAME foo-2.example.com. After swap operation environment foo-1 will respond at http://foo-2.example.com.

    This operation is required in order to deploy a new version of your application with zero downtime. Your DNS will point your www.example.com to foo-1, which is changed on fly by a-few-seconds CNAME swap. Users won’t see any delays, provided your application knows how to share resources (a database, for example).

    You can take a look at jcabi-beanstalk-maven-plugin (I’m a developer). This Maven plugin does exactly this CNAME swap operation in a fully automated manner.

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

Sidebar

Related Questions

I have recently used an icon file received from our marketing team. The icon
I have recently used a PHP pagination tutorial, Pagination - what it is and
Web application - C#, .Net, SQL 2k5. I recently used bulkinsert on an other
I'm getting a bit confused with UIViews recently, I have been using them fine
I have recently used modified a word count method in javascript for my website,
How to design a latest recently used cache? Suppose that you have visited some
I have recently created this WordPress site and have used pixels and margins to
Using Python, is it possible to get access to the Most Recently Used (MRU)
I recently used a Java Web Start application. I launched it from my web
I have recently upgrade from shared hosting to VPS hosting. But the VPS is

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.