4.9 • 848 Ratings
🗓️ 6 November 2021
⏱️ 65 minutes
🔗️ Recording | iTunes | RSS
🧾️ Download transcript
AWS development environments for local and cloud deployment can differ significantly, leading to extra complexity and setup during cloud migration. By developing directly within AWS environments, using tools such as Lambda, Cloud9, SageMaker Studio, client VPN connections, or LocalStack, developers can streamline transitions to production and leverage AWS-managed services from the start. This episode outlines three primary strategies for treating AWS as your development environment, details the benefits and tradeoffs of each, and explains the role of infrastructure-as-code tools such as Terraform and CDK in maintaining replicable, trackable cloud infrastructure.
Click on a timestamp to play from that location
0:00.0 | Welcome back to Machine Learning Applied. Today we're going to be talking about developing within the AWS environment. |
0:08.0 | In other words, using AWS as your local development environment. |
0:13.4 | Now, before we get started, let's reflect back on a prior episode about Docker. |
0:19.0 | I did an episode where I said you can package up an environment |
0:23.1 | and its dependencies and the project's source code into a Docker container and deploy that |
0:30.3 | Docker container to the cloud. What we do is we write a Docker file, literally called Docker file |
0:35.9 | with a capital D. At the top of that Docker file you specify |
0:39.3 | the operating system you're going to be using, and then within the Docker file you're going |
0:43.2 | to specify any number of operating system level packages you want to install, like FFMPEG or Kudaku |
0:50.5 | DNN, and you might install some PIP packages. You can either directly inline the Docker file, say PIP install X, Y, and Z, or you can have |
0:59.2 | a requirements. text file that gets copied into the Docker container, and then that thing gets |
1:04.4 | kicked off with a PIP install of the requirements. text. |
1:07.1 | And then what you'll see in the Docker files is copy some host directory to the container |
1:14.5 | directory, all capitals C-O-P-Y, copy, space, the location of the source code on your computer, |
1:23.4 | relative path. |
1:24.5 | So if you're working within your project route, and at your project root, there are |
1:29.2 | a handful of miscellaneous files, and then within the source directory, that's actually the |
1:34.3 | source code for your project, all your Python files. And then within the Docker container, |
1:39.6 | it's expected to be running out of the forward slash app directory. What you'll see is copy |
1:46.6 | forward slash source space forward slash app. And what that will do is it will take your |
1:52.5 | Python files from the source directory and copy them into the app directory of the Docker container. |
1:58.5 | And then you'll typically have a Dockercompose.YML file, |
... |
Please login to see the full transcript.
Disclaimer: The podcast and artwork embedded on this page are from OCDevel, and are the property of its owner and not affiliated with or endorsed by Tapesearch.
Generated transcripts are the property of OCDevel and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.
Copyright © Tapesearch 2025.