Post presents how to setup ECR, Elastic Beanstalk, API Gateway and deploy Rails application to AWS.
Author: Tomasz Antas
In this episode, we setup AWS infrastructure: VPC & subnets, Bastion Host and RDS with PostGIS.
In part 2, we create basic Rails API-only application backed by PostgreSQL database with PostGIS extension.
Tutorial presents how to create API-only Rails application with Postgresql and PostGIS database, using Nginx, Puma and Docker. Application will be deployed to AWS Elastic Beanstalk and exposed by AWS API Gateway.
AWS allows to get downloadable version of DynamoDB and run it locally. This article presents how to install DynamoDB locally and connect Ruby on Rails app to it.
Brief description how to create API-only Rails 5 Application.
Post presents how to set up simple Ruby on Rails application, build/run Docker image and push/pull it to/from Docker Hub repository. You will find also details how to run Nginx and Rails application in 3 configurations: in separate containers, in single containers and Rails app in container with Nginx running on host.
Article presents how to set up a user accounts for 2 types of end-users’ roles and 1 admin role. Users with admin roles have access to Rails_admin dahsboard. Authentication is done by Devise gem and authorization is set up by Cancancan gem.
Article presents how to setup production server to run basic application on NGINX web server and Puma app server.