I want to build a simple web app, where a person would enter some parameters of a car and my machine learning algorithm would predict the price of the car given the parameters. I want to learn aws and therefore want to deploy and host everything there.
By checking websites and tutorials I identified the following steps I need to do:
What I don't understand is:
Would be happy to learn about your opinion!
Users without machine learning knowledge can quickly build classification and regression models. SageMaker Model Monitor. Monitor and analyze models in production (endpoints) to detect data drift and deviations in model quality.
Basically, the "endpoint" is an identifier that is used in determining what logical unit of your code should handle the request. Normally, an endpoint is just the name of a view function. However, you can actually change the endpoint, as is done in the following example.
For a list of instance types that SageMaker hosting service supports, see AWS Service Limits. For a list of the sizes of the storage volumes that SageMaker attaches to each instance, see Host instance storage volumes. Endpoints are scoped to an individual AWS account, and are not public.
Select the SageMaker Components and registries icon on the left sidebar. From the dropdown, choose Endpoints. Search for your endpoint by name and double-click on the name of your endpoint. The endpoint names listed within the SageMaker resources panel are defined when you deploy a model.
There are obviously many different architectures to achieve what you are trying to do.
Here is one that has worked for me in achieving something similar:
1) Set up AWS S3/RDS for data storage/collection etc - you can use S3 to store data for training as well as a place users can upload data from your web app. You can use RDS to store any metadata and keep track of all your items in your S3 bucket.
2) Use Elastic Beanstalk to host your web app. I've built a few Django apps (instead of Flask) and was able to easily integrate, deploy, etc. the apps with Elastic Beanstalk. Additionally, Elastic Beanstalk comes with a bunch of features that will help you easily manage traffic on your website.
3) Use Sagemaker to deploy your models. Once deployed, you can make pretty easy use of Amazon's SDK, Boto3, for sending data between your web app and your model for predictions.
The general idea is to split up the data, the web app, and the models into separate parts so that you can easily replace one part of your architecture with another if you find a better solution that fits.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With