Basic security setup on AWS
Recently at MobStac we restructured our layout of EC2 on Amazon Web Services so that we are more secure than earlier. We wanted a scheme that would not be painf...

Recently at MobStac we restructured our layout of EC2 on Amazon Web Services so that we are more secure than earlier. We wanted a scheme that would not be painful for our current deployment scheme but would still be as strict when it comes to inward access as possible.
Here is what we settled down for:
Application servers (Django) are all internal security group accessible only. So they can not be accessed from outside our own servers.
RDS (our MySQL storage of choice) is allowed incoming from only the application group.
There is a separate Deployment EC2 that has SSH access allowed from the rest of the world. You login here and do a deploy.
When deployment occurs it fetches extra credentials needed to access the more secure application instances. These credentials are kept in some repositories which almost no one has access too. They credentials include key-pairs, passwords and stuff. They are patched in to the code on the fly and deployed to application instances.
This means deployment can happen only from one instance. And no instance other than this one is accessible from outside.
Also there are background workers instances which has security settings as strict as application instances or even tighter.
Software engineer and entrepreneur, 16+ years at fast-paced startups across the US, Canada, Germany and India.
Hook this up to your favourite commenting platform — Giscus, Disqus, or your own.
Continue reading
Machine Learning, AI, Data Science in simple terms
Hey folks, it has been a while since I posted. I was in a peer group discussing some of these terms recently and then a friend, who was writing a post to demyst...
Continuous Improvement for teams
Introduction Are you chasing deadlines? Finding yourself looking at the Monday to Friday cycle every week and feeling like sheep in an economic system where peo...
Frontend Driven Development
I have primarily been a backend web developer, started out with PHP around 2005 and then moving to Python in 2011. I have worked with a lot of JavaScript, mostl...