DEV Community

me_codes
me_codes

Posted on

Flutter dev to my first AWS EC2 deployment

Yeah I made it! I deployed my first website over an EC2 instance (probably an over kill for a static website), had Nginx as my reverse-proxy/server and even setup a ci/cd pipeline for automatic deployment!

The process was easier than I thought and a lot of it was really straight forward. I mean I've had an existential crisis somewhere in there trying to figure out why my nginx config wasn't working or why the CI/CD wasn't getting triggered and SCP wasn't SCP-ying as expected but the satisfaction of seeing my domain resolve to my elastic ip address (Elastic IP -EIP- is a simple AWS product that allows you to kind of "reserve" a particular public ip address even if you stop your instance or delete it) then Nginx serves the request by serving the correct html file back. 🤯(my very honest reaction)

My PSA for today is, don't be scared away by how huge this sounds, the software you're going to use along the way had already genius minds and tremendous effort put into it that it hides the true scary stuff, what we have today is a miracle and using it feels like magic!

Top comments (0)