Miserlou/Zappa

Can't find deployment on AWS web console?

Closed this issue · 1 comments

I was able to successfully deploy my flask-based API to AWS and I know have an API Gateway url (wooot!). I logged into the AWS web dashboard to look at some information on these services and how I'm using them (API Gateway + Lambda) and I can't find them anywhere. When I run zappa status in my local terminal it does show these services are being used and I can confirm the API is reachable via a curl command.

So where are they? I'm logging into the same account/email address I used to create the IAM User and Group that creates the service.

Context

I'm running zappa from python 3.6, using a virtual environment. Everything is looks fine. This is what I get when I type zappa status (I've censored some of the values):

Status for model-api-dev: 
	Lambda Versions:      11
	Lambda Name:          ***************
	Lambda ARN:           arn:aws:lambda:us-east-***************
	Lambda Role ARN:      arn:aws:iam::***************
	Lambda Handler:       handler.lambda_handler
	Lambda Code Size:     74550112
	Lambda Version:       $LATEST
	Lambda Last Modified: 2020-09-16T17:40:10.537+0000
	Lambda Memory Size:   512
	Lambda Timeout:       30
	Lambda Runtime:       python3.6
	Lambda VPC ID:        None
	Invocations (24h):    0
	Errors (24h):         0
	Error Rate (24h):     Error calculating
	API Gateway URL:      ***************.us-east-1.amazonaws.com/dev
	Domain URL:           None Supplied
	Num. Event Rules:     1
	Event Rule Name:      model-api-dev-zappa-keep-warm-handler.keep_warm_callback
	Event Rule Schedule:  rate(4 minutes)
	Event Rule State:     Enabled
	Event Rule ARN:       ***************:rule/model-api-dev-zappa-keep-warm-handler.keep_warm_callback

Expected Behavior

I would expect if I logged into AWS I would see something in the API Gateway dashboard.

Actual Behavior

I don't see anything.

Possible Fix

Steps to Reproduce

Your Environment

  • Zappa version used: 0.51.0
  • Operating System and Python version: 3.8.5
  • The output of pip freeze:
appdirs==1.4.4
argcomplete==1.12.0
black==20.8b1
boto3==1.14.62
botocore==1.17.62
certifi==2020.6.20
cfn-flip==1.2.3
chardet==3.0.4
click==7.1.2
decorator==4.4.2
docutils==0.15.2
durationpy==0.5
Flask==1.1.2
future==0.18.2
hjson==3.0.2
idna==2.10
itsdangerous==1.1.0
Jinja2==2.11.2
jmespath==0.10.0
joblib==0.16.0
kappa==0.6.0
MarkupSafe==1.1.1
mypy-extensions==0.4.3
networkx==2.5
numpy==1.19.2
pandas==1.1.2
pathspec==0.8.0
pip-tools==5.3.1
placebo==0.9.0
pomegranate==0.13.4
python-dateutil==2.6.1
python-slugify==4.0.1
pytz==2020.1
PyYAML==5.3.1
regex==2020.7.14
requests==2.24.0
s3transfer==0.3.3
scipy==1.5.2
six==1.15.0
text-unidecode==1.3
toml==0.10.1
tqdm==4.49.0
troposphere==2.6.2
typed-ast==1.4.1
typing-extensions==3.7.4.3
urllib3==1.25.10
Werkzeug==0.16.1
wsgi-request-logger==0.4.6
zappa==0.51.0
  • Link to your project (optional):
  • Your zappa_settings.json:
{
    "dev": {
        "app_function": "app.app",
        "profile_name": "default",
        "project_name": "model-api",
        "runtime": "python3.6",
        "s3_bucket": "zappa-ljgj08217",
        "aws_region": "us-east-1"
    }
}

Nevermind, being dumb. I was in the wrong region.