$ now
> Enter your email: [email protected]
>We sent an email to [email protected].
Please follow the steps provided
> Ready! https://try-now-wenliudgwx.now.sh [3s]
> You (aggre) are on the OSS plan. Your code
and logs will be made public.
> Are you sure you want to proceed with the
deployment? [y|N]: y
> Deployment complete!
Slide 13
Slide 13 text
$ curl https://try-now-wenliudgwx.now.sh
▲ Hello World
AWS
$ now aws login
> AWS credentials found in
"~/.aws/credentials".
> Would you like to use them? [Y|n]: y
> Ready! Credentials will be read from your AWS
config when needed
Slide 19
Slide 19 text
AWS
$ vi now.json
{
"name": "try-now",
"description": "from now to lambda",
"regions": "us-wese-1"
}
Slide 20
Slide 20 text
Deploy
$ now aws
> ✔ Build generated a 12.07KB zip [1s]
> ✔ API resources created (id: "now-try-now-
0ZfLN4pSAI") [10s]
> Success! https://p5o38dwqt3.execute-api.us-
west-1.amazonaws.com/now [12s]