How To Setup AWS Logs Agent on Ubuntu 16.04 Instance

aws logs agent on ubuntu 16

This tutorial will guide you through the steps for configuring awslogs agent on an EC2 Ubuntu 16.04 server instance.

Install and Configure AWSLogs

Step1: Update the system and install python.

sudo apt-get update -y
sudo apt-get install python

Step2: Download the latest agent installation script.

curl https://s3.amazonaws.com/aws-cloudwatch/downloads/latest/awslogs-agent-setup.py -O

Step3: Run the agent setup command with the region parameter. Replace the eu-west-2 with the aws region code where you are operating.

sudo python ./awslogs-agent-setup.py --region us-west-2

Fill in the required parameters when prompted.

Setup AWSLogs as a service

There is no support for creating awslogs as a service in Ubuntu 16.04. So we need to create our own systemd unit file for running it as a service.

1. cd into /etc/systemd/system directory.

cd /etc/systemd/system

2. Create a file named awslogs.service

vim awslogs.service

3. Copy the following content on the awslogs.service file.

[Unit]
Description=Service for CloudWatch Logs agent
After=rc-local.service

[Service]
Type=simple
Restart=always
KillMode=process
TimeoutSec=infinity
PIDFile=/var/awslogs/state/awslogs.pid
ExecStart=/var/awslogs/bin/awslogs-agent-launcher.sh --start --background --pidfile $PIDFILE --user awslogs --chuid awslogs &

[Install]
WantedBy=multi-user.target

4. Now start the agent using the following command.

systemctl start awslogs.service

To stop and restart, you can use the following commands.

systemctl stop awslogs.service
systemctl restart awslogs.service

5. To enable awslogs service on boot, execute the following command.

systemctl enable awslogs.service
aws logs agent on ubuntu 16

What Type of Coder Are you?

Coders are very creative guys and that’s the reason every software development company likes them. Let’s discuss and know what’s in the mind of a coder and the types of coders around us

Traits of a coder

  1. Analytical Mindset
  2. Curiosity and Inquisitiveness
  3. Empathy Flexibility
  4. Love of Learning
  5. Pragmatism
  6. Team Player
  7. Technical Mindset

Types of Coders

The Perfectionist – Very punctual, does what he is asked to do, leaves office in time. Fixes many issues as possible and delivers the project on or before time.

The Street Smart Freak – His favorite commands are ctrl+c and ctrl+v. He worships google and blindly copy pastes code from the internet, although doesn’t know the concepts behind, somehow he gets his work done as expected.

The Theoretical Dude – Reads a lot and know how stuff works in computer science engineering, but lacks little coding capabilities. Always want to win the theoretical arguments

The Sloppy Fellow – Knows the root cause of the problem, knows the solution for the issue, however, ends up messing things up because of less focus.

The Code Police – A review nazi, PR approval chances are very less, catches even small bugs, lets the others fix the bugs, argues about code quality and indentation.

Wildcard or Eureka Guy – Versatile coder who keeps trying on latest and new stuff, kinda growth hacking guy.

OK, want to learn to code and be like one of the above guys?

Very cool. Here are the usual suggestions below:

Still confused on what type of coding you want to learn? Let’s break it down,

Now, take a deep breath and choose who you really want to be. With the chaos that is software development, you must choose your category in such way that you can be very competitive in that class/category.

So let me know what type of coder are you or want to be?

List of Best Cloud Computing Certifications

best cloud computing certification

Cloud computing is not so new in the IT industry. Over the years, it has evolved as a field which attracts many IT professionals. And this field has been credited for generating massive opportunities and topping the hot prospect charts. Cloud can not only offer storage solutions but it can also run a data centers on the cloud, enhancing efficiency and increasing cash flow for businesses. Moreover, with the advent of DevOps methodology, cloud had become an integral part of any project to speed up application development, deployment, and testing.

Cloud technology offers immense opportunities for those who want to shape up their career in the IT sector. So how do you check if you are skilled enough to work in this lucrative field? Getting a cloud certification is the best bet and promoting yourself as a bankable asset.

How can you shape your career in cloud computing?

A cloud certification course will not only give you adequate knowledge and skills to compete in the job market but also provide employers an opportunity to measure your skills against their requirements.

By enrolling in a cloud-based certification you will definitely increase your stock in the market and boost your career to new heights.

Fortunately, there are many top institutes that might help you out with an array of cloud-based certifications to shape your career to new heights.

Here are some of the best certifications that are ideal for an upcoming cloud engineer to shape his career in the right direction:

AWS certifications

This is currently one of the best options for an upcoming cloud technician as there are a plethora of opportunities. You can become a cloud-based architect designer and help various companies in setting up their cloud platform. As a matter of fact, AWS is one of the sought after skillset in the current DevOps market.

Being an AWS certified architect or a developer, it definitely has an edge over the other certifications and might be the best bet going forward.

There are two types of certifications namely Associate and Professional that is available for you in the cloud architecture design.

Another very good option for you is to become a DevOps engineer that will catapult you to becoming the most versatile and fruitful asset for any company. This will help you to not only get a grip on the program designing but also on the networking aspects.

There are some other options as well such as developer and cloud administrator which will also you to create a niche for yourself.

Azure certifications

This one is probably the best choice for you if you are looking to keep up with the changes in the modern Microsoft cloud-based business.

There are basically two certifications that you can go through when you are looking to work on azure.

  1. The first one is cloud and infrastructure course that entitles you to learn about the operation and management of the cloud-based platform. This is a short term course and enables you to a number of lucrative jobs in the cloud sector such as cloud administrator or an analyst of information security.
  2. The second certification is a more detailed one and can help you to go in depths of the cloud computing. It will help you in understanding the designing, operation, management and removal of bugs from the cloud network. You can choose among various opportunities like data administrator, designer or operational executive.

CompTIA certifications

Another certification that is aimed to make professionals market ready is the CompTIA certification. The best thing about this certification is the fact that it can help you in improving your technical as well as the business acumen related to cloud computing.

This proves to be quite beneficial especially when you start working in the business environment. A highly rated cloud certification for freshers as well as established engineers can improve the prospects in the market and enhance income.

Other Cloud Certifications

There are several other options available in the market but you must look for options that can boost your career. When you get a cloud certification, your income tends to rise meteorically. An average cloud engineer makes around $90K in a year.

But after these certifications, it may go up to around $150k annually which shows the importance of these certifications. However, you must analyze the demands in the market before choosing any type of certification to make sure that you can have good career and employment opportunities.

Here are two such certifications that you may opt for

Google Cloud Certification: One of the finest certification which is also gaining prominence lately. You can go for the cloud architect course or data engineering which can ensure high reimbursement.

VMware Cloud Certification: Another very popular certification is the VMware certification. VMware is a pioneer in the cloud and virtualization domain, so any individual having these certifications will reap huge rewards. From the foundation course to sharpen your skills and the specialized virtualization and architecture design, there are endless options that you have.

best cloud computing certification