10週目-WebSrv-Laderインスタンスを使用してWordpressを初期構成
実践に関連する構成

注記前回作成したRDSエンドポイント(接続アドレス)
RDSの作成後、
구성
タブメニューから다중 AZ와 보조 영역
を選択
ALBへのWevSrv-Laderインスタンスターゲットの登録
[
ALB-TG
]をクリックします.
[
Register targets
]をクリックします.
インスタンスを確認したら、「->
Include as pending below
」をクリックします.
[
Register pending targets
]をクリックします.
追加

EFS生成の検証

WebSrv-LiaderインスタンスSSH接続後に情報を検証しDBアドレスを設定する
sudo su -
# EFS 파일시스템 마운트 확인
df -hT |egrep '(File|nfs)'
# RDS 엔드포인트를 변수에 지정
RDS=엔드포인트.rds.amazonaws.com
# wp-config.php 파일에 DB 주소를 RDS 엔드포인트로 설정
sed -i "s/localhost/$RDS/g" /var/www/wordpress/wp-config.php
grep -n DB_HOST /var/www/wordpress/wp-config.php
# DB 접속 테스트
mysql -h $RDS -uroot -pqwe12345 -e 'show databases;'
mysql -h $RDS -uroot -pqwe12345
exit
# dig 조회
dig +short $RDS





WebSrv-LeaderパブリックIPアドレスに接続

Wordpress管理者設定

ログイン

[設定]をクリックします.

CloudFrontドメインアドレスに変更(https->http)

[
변경사항 저장
]をクリックします.
文書->新規の追加(Add New)をクリックします

書き込み後にクリック->
공개

[
공개
]をクリックします.
カチッと鳴らす

次の練習
ALBターゲットグループへのインスタンスの登録解除(WebSrvリーダー)


参考資料:AFOS[2期]活動内容
Reference
この問題について(10週目-WebSrv-Laderインスタンスを使用してWordpressを初期構成), 我々は、より多くの情報をここで見つけました https://velog.io/@icebear2n2/10주차-3-WebSrv-Leader-인스턴스를-이용하여-Wordpress-초기-구성テキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol