Re:The Free Stack – Running Your Application for Free on AWS
by indigodaddy on Tuesday July 24, 2018 @04:55PM
(#17604843)
Wow, just want to say nice work on whatever validation method you are using...
# You have a new challenge!
# There is a file named "access.log" in the
# current directory. Print the contents.
#
bash(0)> tac access.log | tac
163.56.115.58 - - [09/Jan/2017:22:29:57 +0100] "GET
/posts/2/display HTTP/1.0" 200 3240
75.113.188.234 - - [09/Jan/2017:22:30:43 +0100] "GET
/posts/foo?appID=xxxx HTTP/1.0" 200 1116
69.16.40.148 - - [09/Jan/2017:22:34:33 +0100] "GET
/pages/create HTTP/1.0" 500 3471
225.219.54.140 - - [09/Jan/2017:22:35:30 +0100] "GET
/posts/foo?appID=xxxx HTTP/1.0" 500 2477
207.243.19.2 - - [09/Jan/2017:22:38:03 +0100] "GET
/bar/create HTTP/1.0" 200 1116
199.37.62.156 - - [09/Jan/2017:22:42:18 +0100] "GET
/posts/1/display HTTP/1.0" 200 2477
55.74.240.123 - - [09/Jan/2017:22:44:25 +0100] "POST
/posts/1/display HTTP/1.0" 200 3471
251.111.109.143 - - [09/Jan/2017:22:49:02 +0100] "GET
/posts/foo?appID=xxxx HTTP/1.0" 200 2477
101.163.230.250 - - [09/Jan/2017:22:52:31 +0100] "DELETE
/posts/2/display HTTP/1.0" 404 2477
200.19.168.148 - - [09/Jan/2017:22:57:11 +0100] "GET
/posts/foo?appID=xxxx HTTP/1.0" 200 3471
# Correct!
# You have a new challenge!
# Print the last 5 lines of "access.log".
Re:The Free Stack – Running Your Application for Free on AWS
by icedchai on Tuesday July 24, 2018 @05:54PM
(#17605275)
He probably just validates the output. You can do "whatever" as long as it generates the output.
Re:The Free Stack – Running Your Application for Free on AWS
by derefr on Thursday July 26, 2018 @02:23AM
(#17615424)
> api gateway / dynamodb
It's funny—this is essentially what Google App Engine's standard environment gives you (equivalents to), but nobody has ever been very excited about using it.
Re:The Free Stack – Running Your Application for Free on AWS
by fabatka on Wednesday July 25, 2018 @07:28AM
(#17608426)
Hi! I really like your project. Perhaps others have suggested it already, but it would be nice to read the man pages directly from the app (currently it gives man: command not found error for me).
Re:The Free Stack – Running Your Application for Free on AWS
by puzzlingcaptcha on Wednesday July 25, 2018 @09:45AM
(#17609155)
I don't want it to sound as advertising, but I pay €3.08 for a VPS (KVM with exposed AES-NI) at hetzner. You can get a lot of bang for the buck these days.
My last month's AWS bill (not in the free tier anymore) was only $2.23. For the runner that runs arbitrary shell commands I used to run a t2.micro in AWS but when the free tier expired I moved that over to gcp and I'm burning through their credits. I'm also using gitlab ci/cd to periodically renew the docker instance that runs shell commands.
It only works because there isn't much traffic obviously, and api requests are not made on every page load.