Development

ECS, Fargate: ssh into managed container

https://aws.amazon.com/blogs/containers/new-using-amazon-ecs-exec-access-your-containers-fargate-ec2/ https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html#install-plugin-linux Install Session Manager plugin on Linux check to see what is linux ARM 32 or 64 bit? download binary verify installation is successful there is nothing you need to do because Fargate already includes all the infrastructure software requirements to enable this ECS capability An error occurred (InvalidParameterException)[…]

Read More »

sql files in /docker-entrypoint-initdb.d not executing, ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for ‘root’@’%’

https://stackoverflow.com/questions/45086162/docker-mysql-error-1396-hy000-operation-create-user-failed-for-root this answer is right but it applies differently to my situation. in my .env file when “docker_setup_db” function gets called, the container attempts to create a user with the name MYSQL_USER (root). Since root is the default user, the error above gets thrown, causing no files inside of /docker-entrypoint-initdb.d[…]

Read More »

Gitpod – env vars on prebuilds and workspaces

https://www.gitpod.io/docs/prebuilds Project environment variables Environment variables which are defined in project settings will be visible in prebuilds. This is useful for prebuilds to access restricted services. WARNING Care should be taken with secrets in prebuilds. Do not save secrets in a way which could leak into workspaces. This especially true for[…]

Read More »