From the course: Rust for Data Engineering
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Containerized Rust Actix Microservice on AWS - Rust Tutorial
From the course: Rust for Data Engineering
Containerized Rust Actix Microservice on AWS
- Here we have an overview of a containerized Actix microservice that will eventually be deployed to AWS. You can see a common structure here that's similar to many projects I work on. I have a MakeFile, I have a Dockerfile, I have a Cargo.toml file and I also have a lib and a main.rs. Let's go ahead and dive into it. So here we have this Rust tutorial that I've been hooking up here that's in the notes that you can link to, and we see that it says Containerized Active Microservice. I have a link to the project. And then let's look at the Docker file. So this Docker file uses Rust as a builder. So what happens is that this environment is able to use all of the developer resources you care about, but then it pushes it into a new container. So this is a nice slick way to build a very tiny container. And once it is able to be pushed into this new container, we expose 8080 and we set up an entry point that says webdocker.…
Contents
-
-
-
-
-
-
-
-
-
-
(Locked)
Cloud developer workspace advantage4m 10s
-
(Locked)
Onboarding to GCP with Python and Rust8m 5s
-
(Locked)
Using GCP Cloud Shell with Rust4m 16s
-
(Locked)
Learn AWS CloudShell12m 1s
-
(Locked)
Prototyping AI APIs with AWS CloudShell12m 39s
-
(Locked)
Cloud9 with CodeWhisperer9m 17s
-
(Locked)
Demo: GCP App Engine Rust Deploy5m 15s
-
(Locked)
Containerized Rust Actix Microservice on AWS8m 52s
-
(Locked)
-
-
-