Dear Community - New Issue. I have created an m5.l...
# ask-community
t
Dear Community - New Issue. I have created an m5.large EC2 instance and I am running conda python 3.8.8 and installed docker, docker-compose, and pip installed prefect. On the EC2 Instance I opened up port 8080 and 4200. I can get to the UI at port 8080 and I can connect to graphql, I can startup the local agent - all that works. But when I try to create a project I get errors on the console for a Foreign Key Violation..... So after a while I fired up a new ssh console and tried to create a project from the command line. And that worked fine. And then I tried to create another project again back from the UI - and this time it worked. What exactly happened? Is this normal?
b
Did you create a tenant (using the CLI) after firing up the server? That’s an initial thing that you have to do which confuses people a lot.
t
I thought it used a default tenant???
b
As far as I know, and I’m only a few weeks in, you need to execute
prefect server create-tenant --name default --slug default
if you’re firing up the server yourself. flavienbwk created an awesome repository which bumps a lot of the quirks that are not too obvious: https://github.com/flavienbwk/Pandemic-Knowledge Another one, a little more basic is this one: https://github.com/flavienbwk/prefect-docker-compose
👍 1
t
thank you - I believe this was my problem.!!!
🙏 1
b
Awesome!