Install rbenv and ruby-build to Amazon Linux (cloud-init).
- Copy & paste content of
user-data.sh
to EC2 RunInstances user-data - Then, logging in to EC2 instance as ec2-user and run
install-ruby.sh
.
Install rbenv and ruby-build to Amazon Linux (cloud-init).
user-data.sh
to EC2 RunInstances user-datainstall-ruby.sh
.Navigation: | |
cmd-p Goto Anything ('@' for functions, ':' for line number) | |
cmd-r Function finder | |
ctl-g Goto line number | |
cmd-sft-p Command palette | |
cmd-sft-f Find in Files | |
cmd-opt-r Toggle regex when finding | |
cmd-opt-# Columns | |
ctr-# Switch columns |
For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.
Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon
with HyperThreading enabled, but it can work without problem on slower machines.
You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.
[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m | |
[40m [0m[40m [0m[41m [0m[41m [0m[41m [0m[41m [0m[41m [0m[41m [0m[41m [0m[41m [0m[41m [0m[41m [0m[41m [0m[41m [0m[40m [0m[40m [0m | |
[40m [0m[40m [0m[41m [0m[41m [0m[107m [0m[107m [0m[107m [0m[107m [0m[101m [0m[101m [0m[101m [0m[101m [0m[107m [0m[107m [0m[107m [0m[107m [0m[41m [0m[41m [0m[40m [0m[40m [0m | |
[40m [0m[40m [0m[107m [0m[107m [0m[40m [0m[40m [0m[40m [0m[40m [0m[101m [0m[101m [0m[101m [0m[101m [0m[40m [0m[40m [0m[40m [0m[40m [0m[107m [0m[107m [0m[40m [0m[40m [0m | |
[40m [0m[40m [0m[107m [0m[107m [0m[40m [0m[40m [0m[107m [0m[107m [0m[101m [0m[101m [0m[101m [0m[101m [0m[107m [0m[107m [0m[40m [0m[40m [0m[107m [0m[107m [0m[40m [0m[40m [0m |