{"id":222952,"date":"2022-02-01T17:51:56","date_gmt":"2022-02-01T16:51:56","guid":{"rendered":"https:\/\/blog.jetbrains.com\/?post_type=pycharm&#038;p=222952"},"modified":"2022-08-09T16:53:53","modified_gmt":"2022-08-09T15:53:53","slug":"tutorial-fastapi-k8s-aws","status":"publish","type":"pycharm","link":"https:\/\/blog.jetbrains.com\/zh-hans\/pycharm\/2022\/02\/tutorial-fastapi-k8s-aws","title":{"rendered":"Tutorial: Developing FastAPI Applications using K8s &#038; AWS"},"content":{"rendered":"\n<p>We&#8217;re happy to announce the new <a href=\"https:\/\/www.jetbrains.com\/pycharm\/guide\/tutorials\/fastapi-aws-kubernetes\/\" class=\"ek-link\" target=\"_blank\" rel=\"noopener\">PyCharm Guide tutorial<\/a> by <a href=\"https:\/\/blog.jetbrains.com\/pycharm\/2021\/02\/pycharm-aws-tutorial-an-interview-with-mukul-mantosh\/\" class=\"ek-link\">Mukul Mantosh<\/a>, this time on FastAPI, Kubernetes, and AWS. In the video below he talks to Paul Everitt and shares a sneak peek at what you should expect from this amazing \u2014 almost 6 hours long \u2014 course. Let&#8217;s take a quick look!<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Sneak preview of Mukul&#039;s FastAPI+Kubernetes course\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/SzYbRC5-3g0?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"rest-apis-in-the-cloud\">REST APIs In The Cloud<\/h2>\n\n\n\n<p>In this free tutorial, you will build a sample e-commerce application with everything along the way and then deploy it to AWS with Kubernetes. Here&#8217;s what it looks like:<\/p>\n\n\n\n<ul><li>Introducing FastAPI, a modern, fast (high-performance), web framework<\/li><li>Setting up FastAPI project type in PyCharm Professional<\/li><li>Setting up the database connection and migrations<\/li><li>Implementing the REST APIs with routing and CRuD<\/li><li>Configuring Celery &amp; Redis with FastAPI<\/li><li>Integrating FastAPI with JWT Tokens<\/li><li>Writing Unit Tests using Pytest &amp; Asyncio<\/li><li>Writing K8s manifests &amp; deploying in minikube<\/li><li>Deploying application using EKS, RDS, ElastiCache, Route53 &amp; AWS Certificate Manager<\/li><li>Combine your K8s manifests into a single package using Helm Charts<\/li><\/ul>\n\n\n\n<p>Each of the 17 sections includes a narrated video demonstration, text explaining everything, and working code snippets.<\/p>\n\n\n\n<p align=\"center\">\n    <a class=\"jb-download-button\" href=\"https:\/\/www.jetbrains.com\/pycharm\/guide\/tutorials\/fastapi-aws-kubernetes\/\" target=\"_blank\" rel=\"noopener\">      \n        Start now!\n    <\/a>\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"previous-tutorials\">Previous Tutorials<\/h2>\n\n\n\n<p>This isn&#8217;t the first long-form tutorial series from Mukul. He&#8217;s done two previously on AWS in the PyCharm Guide:<\/p>\n\n\n\n<ul><li><a href=\"https:\/\/www.jetbrains.com\/pycharm\/guide\/tutorials\/intro-aws\/\" class=\"ek-link\" target=\"_blank\" rel=\"noopener\">Developing Serverless APIs using AWS Toolkit<\/a> covers<br>shows you how to run, build, and deploy serverless functions in PyCharm. This tutorial also had a <a href=\"https:\/\/blog.jetbrains.com\/pycharm\/2021\/03\/pycharm-and-aws-toolkit-tutorial\/\" class=\"ek-link\">webinar session<\/a> with <a href=\"https:\/\/twitter.com\/calvinhp\" class=\"ek-link\" target=\"_blank\" rel=\"noopener\">Calvin Hendryx-Parker<\/a> from <a href=\"https:\/\/sixfeetup.com\" class=\"ek-link\" target=\"_blank\" rel=\"noopener\">Six Feet Up<\/a>, joined by <a href=\"https:\/\/twitter.com\/mkennedy\" target=\"_blank\" rel=\"noopener\">Michael Kennedy<\/a>.<\/li><li><a href=\"https:\/\/www.jetbrains.com\/pycharm\/guide\/tutorials\/django-aws\/\" target=\"_blank\" rel=\"noopener\">Developing Django Application using AWS<\/a> goes through running, building, testing, and deploying Django application in PyCharm using NICE DCV. We had a<br><a href=\"https:\/\/blog.jetbrains.com\/pycharm\/2021\/04\/new-tutorial-develop-a-django-app-using-aws\/\" class=\"ek-link\">blog post<\/a> with a longer introduction.<\/li><\/ul>\n","protected":false},"author":1101,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","categories":[89],"tags":[91],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/pycharm\/222952"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/pycharm"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/types\/pycharm"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/users\/1101"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/comments?post=222952"}],"version-history":[{"count":9,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/pycharm\/222952\/revisions"}],"predecessor-version":[{"id":224381,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/pycharm\/222952\/revisions\/224381"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media?parent=222952"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/categories?post=222952"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/tags?post=222952"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/cross-post-tag?post=222952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}