LoginSignup
0
0

More than 3 years have passed since last update.

RailsアプリケーションをAWSにデプロイする方法(記事まとめ)

Posted at

はじめに

AWSはAmazon Web Servisesの略で、Amazonが提供しているクラウドサーバーのサービスです。
AWSへの理解度を高めるために、学んだことをアウトプットします。

使用するもの

  • Ruby on Rails
  • MariaDB
  • Unicorn
  • Nginx
  • GitHub

流れ

GitHubにデプロイしたい自身のアプリケーションのリポジトリが存在することを前提に以下の手順でデプロイします。

  • AWSにEC2インスタンスの作成を行う

参考)https://qiita.com/daisuke30x/items/91307c94e8f5a702a42f

  • EC2インスタンスにRubyをインストールする

参考)https://qiita.com/daisuke30x/items/09d24ceb167d3fcaff5e

  • EC2インスタンスにDBサーバーを作成する

参考)https://qiita.com/daisuke30x/items/7501d724a0727ad9f2e4

  • EC2インスタンスとGitHubのリポジトリをクローンするための連携

参考)https://qiita.com/daisuke30x/items/b8b9647e3670d1387e8b

  • EC2インスタンスにアプリケーションサーバーを作成する

参考)https://qiita.com/daisuke30x/items/4292f96d817805f93d62

  • EC2インスタンスにWebサーバーを作成する

参考)https://qiita.com/daisuke30x/items/c59e8c05b5d0d90fc7b2

最後に

本投稿が初学者の復習の一助となればと幸いです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0