Elastic Beanstalk is a one-stop shop for Ruby on Rails developers to publish their apps. In this tutorial, I'll show you how to first commit your app to AWS CodeCommit so that you can then publish over to EB.
There are a lot of steps so here's a high-level overview:
Create a Group and attach policies that grant you access to CodeCommit.
Add users to the group.
Create a CodeCommit repository.
Configure your local computer to work with AWS.
Create a local profile on your computer to connect to your CodeCommit repo (using Git).