Mark Fickett
10/25/2021, 7:47 PMdagster-aws up
in the release announcement for 0.6 but when I pip install dagster-aws
there's no executable, did that functionality go away? I also found someone's Terraform module which doesn't look like it's seen much adoption; and I can follow the Deploying Dagster to AWS docs but it leaves setting up an RDS and an executor as exercises for the reader.jordan
10/25/2021, 7:49 PMMark Fickett
10/25/2021, 8:17 PMMarcus Tuke
12/01/2021, 11:26 AMUsercodeService EssentialContainerExited: Essential container in task exited
but it seems ok when I run user_code locally.
I haven't changed anything at all in the example - is there anything I need to change to get this up and running? E.g. do the environment variables need to be anything specific, or can everything really just be left as it is to get this example up and running on ECS?jordan
12/01/2021, 1:44 PMMarcus Tuke
12/01/2021, 1:50 PMDAGSTER_POSTGRES_DB: "postgres_db"
DAGSTER_POSTGRES_HOSTNAME: "postgresql"
DAGSTER_POSTGRES_PASSWORD: "postgres_password"
DAGSTER_POSTGRES_USER: "postgres_user"
Starting to think it's a permissions/VPN/VPC problem with my company AWS set up... Not sure how to diagnose the problemjordan
12/01/2021, 1:55 PMMarcus Tuke
12/01/2021, 1:56 PMjordan
12/01/2021, 5:37 PMMarcus Tuke
12/01/2021, 6:35 PM2021-12-01 15:58:49 UTC+0000 dagster DELETE_COMPLETE -
2021-12-01 15:58:48 UTC+0000 CloudMap DELETE_COMPLETE -
2021-12-01 15:58:05 UTC+0000 LogGroup DELETE_COMPLETE -
2021-12-01 15:58:05 UTC+0000 UsercodeTaskExecutionRole DELETE_COMPLETE -
2021-12-01 15:58:03 UTC+0000 UsercodeTaskExecutionRole DELETE_IN_PROGRESS -
2021-12-01 15:58:03 UTC+0000 LogGroup DELETE_IN_PROGRESS -
2021-12-01 15:58:02 UTC+0000 UsercodeTaskDefinition DELETE_COMPLETE -
2021-12-01 15:58:02 UTC+0000 CloudMap DELETE_IN_PROGRESS -
2021-12-01 15:58:01 UTC+0000 Cluster DELETE_COMPLETE -
2021-12-01 15:58:01 UTC+0000 UsercodeServiceDiscoveryEntry DELETE_COMPLETE -
2021-12-01 15:58:00 UTC+0000 DefaultNetwork DELETE_COMPLETE -
2021-12-01 15:57:59 UTC+0000 Cluster DELETE_IN_PROGRESS -
2021-12-01 15:57:59 UTC+0000 UsercodeServiceDiscoveryEntry DELETE_IN_PROGRESS -
2021-12-01 15:57:59 UTC+0000 DefaultNetwork DELETE_IN_PROGRESS -
2021-12-01 15:57:59 UTC+0000 UsercodeTaskDefinition DELETE_IN_PROGRESS -
2021-12-01 15:57:59 UTC+0000 UsercodeService DELETE_COMPLETE -
2021-12-01 15:57:50 UTC+0000 PostgresqlTaskExecutionRole DELETE_COMPLETE -
2021-12-01 15:57:48 UTC+0000 PostgresqlTaskExecutionRole DELETE_IN_PROGRESS -
2021-12-01 15:57:47 UTC+0000 PostgresqlTaskDefinition DELETE_COMPLETE -
2021-12-01 15:57:47 UTC+0000 PostgresqlServiceDiscoveryEntry DELETE_COMPLETE -
2021-12-01 15:57:46 UTC+0000 PostgresqlTaskDefinition DELETE_IN_PROGRESS -
2021-12-01 15:57:46 UTC+0000 PostgresqlServiceDiscoveryEntry DELETE_IN_PROGRESS -
2021-12-01 15:57:45 UTC+0000 PostgresqlService DELETE_COMPLETE -
2021-12-01 15:56:54 UTC+0000 DagitTaskRole DELETE_COMPLETE -
2021-12-01 15:56:54 UTC+0000 DagitTaskExecutionRole DELETE_COMPLETE -
2021-12-01 15:56:53 UTC+0000 DaemonTaskExecutionRole DELETE_COMPLETE -
2021-12-01 15:56:53 UTC+0000 DaemonTaskRole DELETE_COMPLETE -
2021-12-01 15:56:53 UTC+0000 DagitTaskRole DELETE_IN_PROGRESS -
2021-12-01 15:56:52 UTC+0000 DagitTaskExecutionRole DELETE_IN_PROGRESS -
2021-12-01 15:56:52 UTC+0000 DaemonTaskExecutionRole DELETE_IN_PROGRESS -
2021-12-01 15:56:52 UTC+0000 DaemonTaskRole DELETE_IN_PROGRESS -
2021-12-01 15:56:52 UTC+0000 DagitTaskDefinition DELETE_COMPLETE -
2021-12-01 15:56:51 UTC+0000 DagitServiceDiscoveryEntry DELETE_COMPLETE -
2021-12-01 15:56:51 UTC+0000 DaemonServiceDiscoveryEntry DELETE_COMPLETE -
2021-12-01 15:56:51 UTC+0000 DaemonTaskDefinition DELETE_COMPLETE -
2021-12-01 15:56:50 UTC+0000 DefaultNetworkIngress DELETE_COMPLETE -
2021-12-01 15:56:50 UTC+0000 Default3000Ingress DELETE_COMPLETE -
2021-12-01 15:56:50 UTC+0000 LoadBalancer DELETE_COMPLETE -
2021-12-01 15:56:50 UTC+0000 DagitTCP3000TargetGroup DELETE_COMPLETE -
2021-12-01 15:56:50 UTC+0000 UsercodeService DELETE_IN_PROGRESS -
2021-12-01 15:56:50 UTC+0000 DagitTaskDefinition DELETE_IN_PROGRESS -
2021-12-01 15:56:50 UTC+0000 PostgresqlService DELETE_IN_PROGRESS -
2021-12-01 15:56:50 UTC+0000 DefaultNetworkIngress DELETE_IN_PROGRESS -
2021-12-01 15:56:50 UTC+0000 DaemonTaskDefinition DELETE_IN_PROGRESS -
2021-12-01 15:56:50 UTC+0000 DagitServiceDiscoveryEntry DELETE_IN_PROGRESS -
2021-12-01 15:56:50 UTC+0000 LoadBalancer DELETE_IN_PROGRESS -
2021-12-01 15:56:50 UTC+0000 DaemonServiceDiscoveryEntry DELETE_IN_PROGRESS -
2021-12-01 15:56:50 UTC+0000 Default3000Ingress DELETE_IN_PROGRESS -
2021-12-01 15:56:49 UTC+0000 DagitTCP3000TargetGroup DELETE_IN_PROGRESS -
2021-12-01 15:56:45 UTC+0000 PostgresqlService CREATE_FAILED Resource creation cancelled
2021-12-01 15:56:45 UTC+0000 UsercodeService CREATE_FAILED Resource creation cancelled
2021-12-01 15:56:44 UTC+0000 LoadBalancer CREATE_FAILED Resource creation cancelled
2021-12-01 15:56:44 UTC+0000 dagster DELETE_IN_PROGRESS User Initiated
2021-12-01 15:56:01 UTC+0000 UsercodeService CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:56:01 UTC+0000 PostgresqlService CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:59 UTC+0000 PostgresqlService CREATE_IN_PROGRESS -
2021-12-01 15:55:59 UTC+0000 UsercodeService CREATE_IN_PROGRESS -
2021-12-01 15:55:56 UTC+0000 PostgresqlServiceDiscoveryEntry CREATE_COMPLETE -
2021-12-01 15:55:56 UTC+0000 PostgresqlServiceDiscoveryEntry CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:56 UTC+0000 DagitServiceDiscoveryEntry CREATE_COMPLETE -
2021-12-01 15:55:56 UTC+0000 UsercodeServiceDiscoveryEntry CREATE_COMPLETE -
2021-12-01 15:55:56 UTC+0000 DaemonServiceDiscoveryEntry CREATE_COMPLETE -
2021-12-01 15:55:56 UTC+0000 DagitServiceDiscoveryEntry CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:55 UTC+0000 UsercodeServiceDiscoveryEntry CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:55 UTC+0000 DaemonServiceDiscoveryEntry CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:54 UTC+0000 DagitServiceDiscoveryEntry CREATE_IN_PROGRESS -
2021-12-01 15:55:54 UTC+0000 DaemonServiceDiscoveryEntry CREATE_IN_PROGRESS -
2021-12-01 15:55:54 UTC+0000 UsercodeServiceDiscoveryEntry CREATE_IN_PROGRESS -
2021-12-01 15:55:54 UTC+0000 PostgresqlServiceDiscoveryEntry CREATE_IN_PROGRESS -
2021-12-01 15:55:52 UTC+0000 CloudMap CREATE_COMPLETE -
2021-12-01 15:55:31 UTC+0000 DagitTaskDefinition CREATE_COMPLETE -
2021-12-01 15:55:31 UTC+0000 DagitTaskDefinition CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:30 UTC+0000 DaemonTaskDefinition CREATE_COMPLETE -
2021-12-01 15:55:30 UTC+0000 DaemonTaskDefinition CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:30 UTC+0000 UsercodeTaskDefinition CREATE_COMPLETE -
2021-12-01 15:55:29 UTC+0000 UsercodeTaskDefinition CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:29 UTC+0000 PostgresqlTaskDefinition CREATE_COMPLETE -
2021-12-01 15:55:29 UTC+0000 PostgresqlTaskDefinition CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:28 UTC+0000 DagitTaskDefinition CREATE_IN_PROGRESS -
2021-12-01 15:55:28 UTC+0000 DaemonTaskDefinition CREATE_IN_PROGRESS -
2021-12-01 15:55:27 UTC+0000 UsercodeTaskDefinition CREATE_IN_PROGRESS -
2021-12-01 15:55:27 UTC+0000 PostgresqlTaskDefinition CREATE_IN_PROGRESS -
2021-12-01 15:55:26 UTC+0000 DaemonTaskRole CREATE_COMPLETE -
2021-12-01 15:55:26 UTC+0000 DagitTaskRole CREATE_COMPLETE -
2021-12-01 15:55:25 UTC+0000 DaemonTaskExecutionRole CREATE_COMPLETE -
2021-12-01 15:55:25 UTC+0000 DagitTaskExecutionRole CREATE_COMPLETE -
2021-12-01 15:55:25 UTC+0000 UsercodeTaskExecutionRole CREATE_COMPLETE -
2021-12-01 15:55:25 UTC+0000 PostgresqlTaskExecutionRole CREATE_COMPLETE -
2021-12-01 15:55:14 UTC+0000 DefaultNetworkIngress CREATE_COMPLETE -
2021-12-01 15:55:13 UTC+0000 Default3000Ingress CREATE_COMPLETE -
2021-12-01 15:55:13 UTC+0000 DefaultNetworkIngress CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:13 UTC+0000 DefaultNetworkIngress CREATE_IN_PROGRESS -
2021-12-01 15:55:13 UTC+0000 Default3000Ingress CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:13 UTC+0000 Default3000Ingress CREATE_IN_PROGRESS -
2021-12-01 15:55:11 UTC+0000 Cluster CREATE_COMPLETE -
2021-12-01 15:55:11 UTC+0000 DefaultNetwork CREATE_COMPLETE -
2021-12-01 15:55:10 UTC+0000 DefaultNetwork CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:07 UTC+0000 LogGroup CREATE_COMPLETE -
2021-12-01 15:55:07 UTC+0000 Cluster CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:07 UTC+0000 CloudMap CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:07 UTC+0000 LogGroup CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:07 UTC+0000 DagitTCP3000TargetGroup CREATE_COMPLETE -
2021-12-01 15:55:06 UTC+0000 DaemonTaskRole CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:06 UTC+0000 DagitTaskRole CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:06 UTC+0000 DagitTaskExecutionRole CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:06 UTC+0000 DagitTCP3000TargetGroup CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:06 UTC+0000 LoadBalancer CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:06 UTC+0000 UsercodeTaskExecutionRole CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:06 UTC+0000 DaemonTaskExecutionRole CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:06 UTC+0000 DaemonTaskRole CREATE_IN_PROGRESS -
2021-12-01 15:55:06 UTC+0000 PostgresqlTaskExecutionRole CREATE_IN_PROGRESS Resource creation Initiated
2021-12-01 15:55:05 UTC+0000 DagitTaskExecutionRole CREATE_IN_PROGRESS -
2021-12-01 15:55:05 UTC+0000 DagitTaskRole CREATE_IN_PROGRESS -
2021-12-01 15:55:05 UTC+0000 UsercodeTaskExecutionRole CREATE_IN_PROGRESS -
2021-12-01 15:55:05 UTC+0000 Cluster CREATE_IN_PROGRESS -
2021-12-01 15:55:05 UTC+0000 DefaultNetwork CREATE_IN_PROGRESS -
2021-12-01 15:55:05 UTC+0000 PostgresqlTaskExecutionRole CREATE_IN_PROGRESS -
2021-12-01 15:55:05 UTC+0000 DagitTCP3000TargetGroup CREATE_IN_PROGRESS -
2021-12-01 15:55:05 UTC+0000 CloudMap CREATE_IN_PROGRESS -
2021-12-01 15:55:05 UTC+0000 LoadBalancer CREATE_IN_PROGRESS -
2021-12-01 15:55:05 UTC+0000 DaemonTaskExecutionRole CREATE_IN_PROGRESS -
2021-12-01 15:55:05 UTC+0000 LogGroup CREATE_IN_PROGRESS -
2021-12-01 15:54:59 UTC+0000 dagster CREATE_IN_PROGRESS User Initiated
jordan
12/02/2021, 1:26 AMMarcus Tuke
12/08/2021, 12:15 PMpython:3.7-slim
to amd64/python:3.7-slim
in the Dockerfile
(b) the Postgres user/db/passwd needed to just be postgres
e.g.
DAGSTER_POSTGRES_USER: "postgres"
DAGSTER_POSTGRES_PASSWORD: "postgres"
DAGSTER_POSTGRES_DB: "postgres"
jordan
12/08/2021, 2:58 PMBecause I’m using Apple M1 chip, there seems to be something strange going on with the image reverting to 32bitwell that at least explains in part why i wasn’t able to reproduce 😅 ok - this is good info - i’m going to dig a bit more into it now that you’ve diagnosed the problem and i’ll look into updating the example (unless you’d like to open a PR directly against the repo - your choice)
(b) the Postgres user/db/passwd needed to just be postgres e.g.This really surprises me - unless it was also changed in the postgres service 🤔