10週目-CloudFront、ELB、S 3(WPOffload Media Lite)を2つのAllInOneインスタンスで使用
実践に関連する構成

クリックCloudFront->
ID

Domain Name
確認
Web接続先EC 2 AllnOneパブリックIPアドレス

Wordpress管理者アカウントの設定

ログイン

설정
へ
アドレスをCloudFrontドメインアドレスに変換

httpsを入力://
s
を減算
[
변경사항 저장
]をクリックします.
ALB&チェック対象グループ
AllInOneインスタンスが含まれています.

CloudFrontを使用したドメイン名接続マネージャWeb
http://CloudFrontDomainName/wp-admin/

CloudFrontへのWeb接続ドメイン名
HTTP://CloudFrontDomainName/

AllInOneインスタンスSSH接続->アップロードフォルダの確認
cd /var/www/html/wp-content/uploads
# 업로드 폴더 정보 확인
tree

記事->
새로 추가
クリック

書き込み後に
공개
をクリック
[
공개
]をクリックします.
私の性格が見える表情

word pressに文章を書いた後、AllInOneのアップロードフォルダをチェック
tree

アップロードリポジトリをS 3に変更して、ストレージとファイルの配信を最適化
プラグイン->新規の追加(Plug-in->Add New)をクリックします.

WP Offload Media Lite
の検索とインストール
활성화
->Settings
をクリックします.
選択ボトム
NEXT

[
Create new bucket
]をクリックします.
選択領域->Bucket名の作成->
Create New Bucket
クリック
下の
ADBANCED OPTIONS
ON->Save Changes
をクリックします.
2番目の記事を作成するには、>
공개
をクリックします.
[
공개
]をクリックします.
よく撮れたでしょう?

S 3->作成したパケットをクリック

写真が出るまでクリックし続けます





写真はS 3パケットに保存されている

AllInOneのアップロードフォルダにイメージが存在するかどうかを確認し、S 3パケットに格納されている内容を確認する
# 기존 파일만 존재
tree /var/www/html/wp-content/upload
# S3 버킷에 저장된 내용 확인
aws s3 ls s3://<자신의 버킷 이름> --recursive
aws s3 ls s3://beaswp --recursive


オプション)S 3パケット設定
「Bucket-」>「権限」をクリックします.

bucketポリシーで
편집
をクリック
貼り付け後に自分のパケット名を変更する->
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": [
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::자신의버킷이름/*"
]
}
]

[
변경 사항 저장
]をクリックします.
実習が終わる

次の実験の注意事項
AllInOneインスタンスの停止
S 3 bucket初期化:S 3 bucket->空白->
영구 삭제
入力->비어있음
クリック->종료
クリック参考資料:AFOS[2期]活動内容
Reference
この問題について(10週目-CloudFront、ELB、S 3(WPOffload Media Lite)を2つのAllInOneインスタンスで使用), 我々は、より多くの情報をここで見つけました https://velog.io/@icebear2n2/10주차-2-AllInOne-인스턴스를-이용하여-CloudFront-ELB-S3WP-Offload-Media-Lite-활용テキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol