First Sign into the consle of the Amazon Web Services (AWS) and
In the Navigation pane Select ElasticBean
Name the appliation and click on Create
The will create the Application
Now you need to Create the environment.
You need to select the Ruby version. I selected 2.6
It is must same as the the Ruby version in your local and the Ruby version on the AWS must be same otherwise it will fail while deploying
Also you need check the puma version it must also be that of the AWS.
The PUma version is mentioned in the GEM file of the Rails app.
. Leave the rest and now click on Create
Deploying the Application.
Go to your Local folder of the Rails project and run eb init on the root of the app. This will create ebbeanstalk environment folder
You will be prompted to use Code Commit Choose Yes
Then run git add
Comments
Post a Comment