0

I used Elastic Beanstalk to upload an application whilst studying, it was part of a group project. However the account got suspended when the billing details were incorrect, this discontinued the application services.

After resolving the account with Amazon the Elastic Beanstalk environment was up and running apart from the RDS instance. I then restored the most recent RDS backup but I can no longer access the MYSQL database with the previous details (Host, DBName and Password) and the application no longer works because the details to connect to the DB are wrong.

I then found out I cannot use a snapshot RDS instance with an existing EB environment, so I am doing the following steps:

  • Restore the database to a new RDS instance.
  • Make a manual backup of this new RDS instance. Create a new Beanstalk environment using your manual RDS backup.
  • Test to make sure everything is working as expected.
  • Update URLs or DNS to make sure traffic is routed to your new environment

However I do not know how to do step two, can anybody help me on how to create a new EB environment using an RDS Instance Snapshot ?

(So I can access the DB)

1
  • By Manual back up you means snapshot right? you can take manual Snapshot of the instance? Jun 29, 2016 at 18:43

1 Answer 1

1

This are the steps involved in creation of AWS Beanstalk.

enter image description here

In this step select the "create RDS" check box.

enter image description here

When you go to the RDS Configuration step select the snapshot of your database in the drop down and then proceed till the end.

enter image description here

1
  • The screenshot you posted has no field for "selecting an existing snapshot."
    – carpiediem
    Dec 17, 2019 at 14:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.