RFPの書き方

イシュー

参考

magnet88jp.hateblo.jp * 「要件定義書のアウトライン作成」完全マニュアル (3/3):誰にでも分かるSEのための文章術(4) - @IT * 品質とは要求を満たすこと (2/3):メンバーに贈るプロマネ基礎講座(6) - @IT

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できていない模様。

参考

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

原因:.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に接続する

イシュー

  • 新居では、All 無線化したいので、nasne無線LAN対応にする

参考

ネットワーク

PostGraphile と Prisma

イシュー

  • PostgreSQL から GraphQL-API をつくる Postgraphile 以外にも、%%mysql, Postgres から GprahQL-API をつくる PrismaAPIサーバの候補に%%
  • ちがって、GprahQLからスキーマを作る、の模様

参考