4 ms·
Building a socket.io chat app and deploying it using AWS Fargate
- nickthemagicman 9y agoAwesome to see tutorials about making serverless apps!
- davidjnelson 9y agoFargate is kind of serverless. Ultimately you're running applications on containers on ecs. It takes away the need to deal with the ec2 instances which is huge, but you still have to deal with the networking and making sure your web server process(es) stay up.
- royjacobs 9y agoIt's a shame you still have to deal with cloud formation configuration files with this approach. They are the most inscrutable part of AWS, for me.
- davidjnelson 9y agoCloudformation is really cool but ya it's kind of a pain. Yaml helps over json for me. Also there is Cloudformer where you can setup a stack in the UI and export it as a Cloudformation template: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-using-cloudformer.html https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGui...
- davidjnelson 9y agoFargate has been really cool. Setting up the networking was a bit of effort. It would be great if api gateway / lambda were fast enough, but it's 10x slower for 95th percentile and median latency compared to the same app running in fargate. Need to blog about this stuff.