HiveBrain v1.2.0
Get Started
← Back to all entries
patterndockerMinor

DevOps practice on AWS instances

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
practiceinstancesdevopsaws

Problem

I am new to DevOps, started learning the different tools.
I would like to practice all of the tools like Jenkins, Chef, GIT, Puppet, Ansible, Docker, Kubernetes, etc .

My question is If I would like to practice all of the tools on AWS Free tier Instances
How many of them are needed? and
which tools I can combine them and install on which instances ?

Please help me in this regard.

Solution

You might not be able to get this done on the free tier. Puppet for example isn't going to want to start because of the RAM limitations. The AWS free tier uses thje t2.micro instance which only has 1GB of RAM. Your operating system alone probably needs 512 to run at idle. This leaves you a mere 512 MB or ram for all of the things that you listed.

While the issue with puppet not starting can be overcome by editing /etc/sysconfig/puppetserver and setting something like:

JAVA_ARGS="-Xms512m -Xmx512m"


(this issue arises because puppet expects 2 GB or RAM out of the box)

You are bound to find that running all of these on a single server is debilitating and painful with only 1 GB of RAM. You should probably consider using something like virtualbox on your PC or laptop so that you can get some more ram than that offered by the AWS free tier. I'd say you want at least 4 or maybe 8 GB of RAM. While this probably can be done, I don't recommend it. You may have to stop one service to run another which then makes it difficult to have one talk to the other (eg, ansible talk to Jenkins while puppet is running, for example.)

Code Snippets

JAVA_ARGS="-Xms512m -Xmx512m"

Context

StackExchange DevOps Q#1940, answer score: 5

Revisions (0)

No revisions yet.