![Building Serverless Python Web Services with Zappa](https://wfqqreader-1252317822.image.myqcloud.com/cover/614/36699614/b_36699614.jpg)
上QQ阅读APP看书,第一时间看更新
Deploying and testing hello world
Zappa deployment is super easy, as you only need to run a single command in order start the deployment:
$ zappa deploy <stage_name>
That's it! We are done with deployment. Now, let's deploy the hello world program. The following screenshot describes the deployment process:
![](https://epubservercos.yuewen.com/CACC6B/19470390501551006/epubprivate/OEBPS/Images/dd26755c-42cd-4cda-9fa0-02ec8bfb4f2a.png?sign=1738859250-glCtkgGusHBUGi6kQxplO9G2GhdsMQAB-0-ab64ef515ecc524d53dd116c233ac199)
Once the deployment completes, we get the API URL endpoint. Let's test the hello world application by hitting the API URL with the /hello endpoint:
$ curl -l https://071h4br4e0.execute-api.ap-south-1.amazonaws.com/dev/hello
After running the preceding command, you will see the following output:
Hello World!
It's really amazing to be able to configure the service and deploy it in a few seconds. Now, we will see its basic uses related to the zappa_settings.json file in detail.