質問編集履歴

3

環境にUnicornを追加

2022/11/07 02:41

投稿

keiichinoapp
keiichinoapp

スコア2

test CHANGED
File without changes
test CHANGED
File without changes

2

IPとアプリ名の匿名化

2022/11/07 02:41

投稿

keiichinoapp
keiichinoapp

スコア2

test CHANGED
File without changes
test CHANGED
@@ -28,7 +28,7 @@
28
28
  bundler: command not found: unicorn_rails
29
29
  Install missing gem executables with `bundle install`
30
30
 
31
- [ec2-user@ip-172-31-8-75 humanity-front-django]$ unicorn_rails -c /var/www/rails/my-books/config/unicorn.conf.rb -D -E production
31
+ [ec2-user@ip-プライベート IP アプリ名]$ unicorn_rails -c /var/www/rails/my-books/config/unicorn.conf.rb -D -E production
32
32
  -bash: unicorn_rails: command not found
33
33
  ```
34
34
  https://naozuminumata.com/aws-502-bad-gateway/

1

Amzon Linuxという環境を補足追加しました

2022/11/07 02:40

投稿

keiichinoapp
keiichinoapp

スコア2

test CHANGED
File without changes
test CHANGED
@@ -3,7 +3,7 @@
3
3
  バックエンド1年目の者です。
4
4
  インフラ系の知識が浅く、どこでつまづいているかわからない状態なので教えてください。
5
5
 
6
- Python, Django, AWS(EC2, SageMaker, RDS, S3)という環境で、顧客管理システムをデプロイ後、EC2インスタンスを再起動した時に起こったことです。
6
+ Python, Django, AWS(EC2, SageMaker, RDS, S3, Amazon Linux)という環境で、顧客管理システムをデプロイ後、EC2インスタンスを再起動した時に起こったことです。
7
7
 
8
8
  502 Bad Gatewayが発生したので、皆さんに対処法をご教示願いたいと思います。
9
9