Permitting IAM users to manage MFA and password without giving admin rights

04Sep,15 Post Image

When we are building infrastructure for our clients, we make sure that user has least amount of privileges. This walk though guide you through giving user enough permissions to manage their MFA and password without giving them admin rights. 1. Navigate to IAM and click on create policy and select Create Your Own Policy 2. […]

View Post

How to enable detail billing on AWS

24Aug,15 Post Image

AWS generate detailed billing reports that break down your costs by the hour, day, or month; or by each account in your organization; or by product or product resource, or by tags that you define yourself. This walk through shows how to enable detail billing on your account. 1. Create a s3 bucket to save […]

View Post

Using AWS? Do These 3 Things Now

10Jul,15 Post Image

As a Managed Service Provider for Amazon Web Services we work closely with our clients to ensure that every little detail is taken care of. However if you’re not our client and using AWS it may not be configured to ensure the best security, billing protections or transparency. Do these 3 things immediately – 1) […]

View Post

Test OpsWorks Cookbooks locally using Test Kitchen and Docker

The challenge Testing cookbooks on OpsWorks takes a really long time and the feedback loop is really slow Most of the OpsWorks cookbooks don’t run locally unless OpsWorks agent is running. In this blog post I’ll walk you through how to simulate a OpsWorks environment locally using Test Kitchen and Docker ( boot2docker ). Hopefully, […]

View Post

Deploy from Slack to Jenkins and Opsworks

OpsWorks can manage the life cycle of an application. But most of the time we find it useful to orchestrate OpsWorks deployments through Jenkins events because Jenkins easily integrates with many current workflows for most of the clients. Let’s talk about some of the challenges this workflow addresses and some steps use to implement deployment thru […]

View Post

AWS Cross-account service access with Roles and temp keys

In last week, I was playing with cross-account IAM roles to achieve key-less job executions in our amazon web services environment. As a security prospective, IAM role is better option over aws keys as there is no need of aws keys ,awscli or s3cmd to access aws services. With proper use of IAM roles in […]

View Post

How to Configure SolrCloud

Here at nClouds one of our clients wanted us to implement a Search Engine that autofills in one of their applications. We looked into various search engines and found that SolrCloud had the best collection of search indexes in storage. So, here in this blog we will go over how we configured the backend manually. […]

View Post

Build a rails stack using Chef, Vagrant and Berkshelf

In this post, I am going to be creating a demo Rails stack using Chef, Vagrant and Berkshelf. Chef is an open source configuration management system, it allows you to treat your infrastructure as a code. Vagrant allows you to create Virtualbox machines, they also have support for Vmware. And, finally Berkshelf handles cookbook dependencies, […]

View Post

Running queries report when RDS load is high

While working on RDS database, several times we observe that RDS slowdowns due to high CPU load which can cause due to lots of queries hitting to DB and run at the same time.  surely you can setup a monitoring system which can send you alerts related to CPU load. But manually checking the db, […]

View Post

ERROR 1095 (HY000): You are not owner of thread

I tried to kill query on AWS RDS today and I got an error saying “ERROR 1095 (HY000): You are not owner of thread” , even though I was using the admin account for RDS. As the error suggests, in order to kill it, you need to be the process owner. You can get the […]

View Post

Manage AWS resources using CloudFormation and Chef

Hi Folks, I’m writing this post to share – on how we used CloudFormation to manage AWS resources and exploited AWS CloudFormation application bootstrap helper scripts to register EC2 machines with Chef server for automation. AWS CloudFormation’s templates describe the AWS resources, and any associated dependencies or runtime parameters, required to run your application. To […]

View Post

Alerting for stale nodes on Chef with Nagios

With the new version of Chef we have more options and more features and an even better knife status command, which brings us to the discussion at hand which is how to alert for stale nodes on Chef using Nagios:- The knife status command is used to display a brief summary of nodes on a […]

View Post

Upgrading from Chef 10 to Chef 11

We shall be using the knife-essentials plugin to upgrade from Chef 10 to Chef 11. Prerequisites To upgrade, you need a live Chef 10 and Chef 11 server, and a knife workstation that can hit them both, loaded with the latest knife-essentials. 1. To install Chef 11, follow instructions here. Note: If we are going […]

View Post

Parse ohai output with jq

Ohai is a tool which is used  by chef-client to obtain information about  the node’s platform detail, networking usage, memory usage, processor usage , kernel data , host names, fully qualified domain names and other configuration. It also has command line tool which displays the data in Json. ohai  | head -4 { "languages": { […]

View Post

Subscribe to Our Newsletter

Join our community of DevOps enthusiast - Get free tips, advice, and insights from our industry leading team of AWS experts.