You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- mount -rw -o remount / #enable read write mode for root
- ls /home #to get list of usernames
- passwd <username> #press enter key & set password
- exit terminal & restart
Complete guide for deploying rails application to aws ec2 instance, using capistrano as deploying tool with nginx & puma server
Deploy Rails Application to AWS EC2
Creating AWS EC2 Instance
- login to 'AWS Management Console' (https://aws.amazon.com/console/)
- from 'Services'(in navbar) choose 'EC2'
- from 'Create Instance' section, click on 'Launch Instance'
- then select 'AMI' (Amazon Machine Image), we will be using 'Ubuntu Server 16.04 LTS (HVM)' as example
- select 'Instance Type' as per your requirement
- then click 'Next:Configure Instance Details' to continue
change 'Configure Instance Details' or used as default settings