composerの使い方整理
AWS CodePipelineの CodeBuildで何もしていないのにエラー
イシュー
- CodePipeline で なにもしないBuild を実行しているのに、エラーなる
RequestError: send request failed caused by: Get https://codepipeline-ap-northeast-1-770822675322.s3.ap-northeast-1.amazonaws.com/drupal-beanstalk-pip/MyApp/ZRw4L7X: dial tcp 52.219.0.112:443: i/o timeout
- CodeCommit から、S3へファイルを格納できているが、次のステップの CodeBuildで、S3のファイルがGETできていない模様。
参考
- AWS CodeBuild に対する認証とアクセスコントロール - AWS CodeBuild
- https://forums.aws.amazon.com/message.jspa?messageID=855926
- codepipeline がVPC内のS3へアクセスできるかを確認
- 【新機能】S3がVPCのプライベートサブネットからアクセス可能になりました! | Developers.IO
CodePipeline の CodeCommit デフォルトのコミットコマンド
git push codecommit-origin default
Stagingでエラー
The action failed because either the artifact or the Amazon S3 bucket could not be found. Name of artifact bucket: codepipeline-ap-northeast-1-770822675322. Verify that this bucket exists. If it exists, check the life cycle policy, then try releasing a change.
アーティファクトまたはAmazon S3バケットが見つからないため、アクションは失敗しました。 アーティファクトバケットの名前:codepipeline-ap-northeast-1-770822675322。 このバケットが存在することを確認します。 存在する場合は、ライフサイクルポリシーを確認してから、変更をリリースしてください。
アーティファクトができていないらしい。 CodeBuild の アーティファクトをどのように設定すればよいか?
Deployment completed, but with errors: Failed to deploy application. Service:AmazonCloudFormation, Message:Template format error: Unresolved resource dependencies [MountTargetSecurityGroup] in the Resources block of the template
- アーティファクトをつくるようにしたら、メッセージが変わった。
- デプロイメントは完了しましたが、エラーが発生しました。 サービス:AmazonCloudFormation、メッセージ:テンプレート形式のエラー:未解決のリソース依存関係[MountTargetSecurityGroup]テンプレートのResourcesブロック
参考
MountTargetSecurityGroup は、EFSの設定
ElasticBeanstalk でサーバ構築する際のCloudFormationテンプレートで、EFSリソースを取得するRef: MountTargetSecurityGroup が未解決というのはどういうことか?
- MountTargetSecurityGroup は、MountTargetA、MountTargetB、MountTargetCの3つある(サブネット3つ分)
CodePipeline template format error
- CodePipeline CloudFormation Template configuration - Stack Overflow
- CloudFormationで変数の埋め込みはしたいが、IAMポリシ-変数を使いたい場合
- セキュリティグループの作成 - Amazon Elastic File System
原因:.ebextensions がコミットされていなかったため。
- .ebextensions/loadbalancer-sg.config は、リリース後設定されていると、Codepipeline からデプロイする際にエラーになるため削除する。
別のエラー
Service:AmazonCloudFormation, Message:Template format error: Unresolved resource dependencies [AWSEBLoadBalancerSecurityGroup] in the Resources block of the template
AWSにDrupal を入れたが、停止後に起動しない⇒ただの設定ミス
イシュー
AWSの手順の概要
- ElasticBeanstalk で設定周りを行うために、.ebextensionsを使用している
- .ebextensions では、EFSの設定を行っている。
- EFSには、sync ディレクトリの内容を保存している??
問題点と思われるところ
- Elastic Beanstalk の設定(ソフトウェア)の「EFS_REGION」の値が「
{"Ref": "AWS::Region"}
」となっている、あっているのか?- ⇒あっている
- Elastic Beanstalk の設定(ソフトウェア)の「EFS_VOLUME_ID」の値が「
{"Ref" : "FileSystem"}
」となっている、あっているのか?- ⇒あっている
- EFSのマウントポイント「/drupalfiles」の中身が空。マウントできていない
# mount proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,relatime) devtmpfs on /dev type devtmpfs (rw,relatime,size=289948k,nr_inodes=72487,mode=755) devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /dev/shm type tmpfs (rw,relatime) /dev/xvda1 on / type ext4 (rw,noatime,data=ordered) devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
参考
原因
- .ebextensions/efs-create.config のサブネットの指定が間違ってただけっぽい
nesne を無線LANに接続する
イシュー
参考
- Nasneを無線化して快適な録画ライフを送る準備を整えるためにやるべきただ1つの方法 | ガシュログ.com
- Nasneを無線LANで快適に利用するまで | tipsBear
- PS4買ったのでBUFFALOのWLI-UTX-AG300/C使ってnasneを無線化してみる - それもまた然り
- nasneを使ってテレビのケーブルを無線化する方法 | ななうみいんふぉ
- NasneのAOSS接続、WPS接続がうまくいかないときの対処法。面倒だけど確実に設定する方法 | ガシュログ.com
- Nuro 光の時の対応
NURO 光の無線 LAN セキュリティ設定の変更方法を知りたい(Huawei (HG8045D / HG8045Q)) | 会員サポート | So-net
- WPS の有効化
ネットワーク
- PS4の速度が上がりません解決策を教えて下さい
- MTUの調べ方