AWS Light Sail and Flask
As I progress through Udacity’s Full Stack Nano Degree, I’ve come to enjoy coding.
What I love about this program, I get to use python. I like the python language since I was first introduced it a couple years ago. Its crisp and easy to code. Anyone can learn to write python or code in general.
Python applications are used in many areas. These areas include artificial intelligence to web development. The language has a lot of web frameworks. I am going to focus on flask. Flask is light weight web framework. It is really recent compared to Django (another python web framework. Its little more robust) which has been around quite some time. According to Flask documentation, its easy to setup. Here is some sample code:
from flask import Flask
app = Flask(__name__)
return "Hello World!"
if __name__ == "__main__":
I can get the flask application up and running in minutes. This is cool.
How do I deploy the flask application?
How do I deploy the flask application? Amazon Light Sail.
Amazon Light sail is where you can create an instance with OS only and App+OS. This is cool because you have your own instance for experimentation. You can destroy and rebuilding it as many times as you want (with in reason). Amazon Light Sail has great documentation. Take a look and experiment
I’m including github links on the bottom you can go to.
- Linux Server Configuration — This first repo talks about setup of light sail and the server
- Items Catalog — Setup my application locally on your computer.
If anyone wants to talk about this stuff or job opportunities, send me an email: firstname.lastname@example.org or add me on LinkedIn.
Have fun. Keep Coding. I know I will. Thanks everybody.