Category Archives: AWS

Upload to Amazon S3 using CLI in 5 easy steps

By | April 2, 2020

Uploading any files to Amazon S3 using the command line (CLI) or terminal is very easy if you follow these steps. Step 1: Create an S3 bucket Log into your console and create a bucket. Take note of your bucket name and the region. Here, my region is “us-west-2” Step 2: Download AWSCLI Visit https://aws.amazon.com/cli/ and download… Read More »

Category: AWS

Connection closed port 22 when connecting to Amazon AWS EC2 via ssh

By | March 12, 2020

If you are getting a connection closed on port 22 when trying to connect to Amazon AWS EC2 server via ssh, the chances are the user name you are using is wrong. If you are following the instructions at: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstancesLinux.html for the first time and you are confused at: ssh -i /path/my-key-pair.pem ec2-user@ec2-198-51-100-1.compute-1.amazonaws.com then you are… Read More »

Category: AWS

AWS Permissions are too open error when trying to connect to EC2

By | March 9, 2020

If you are trying to connect to an EC2 instance in AWS and you get the following permission error saying that your key file is too open…. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @         WARNING: UNPROTECTED PRIVATE KEY FILE!          @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0644 for ‘awskeypair.pem’ are too open. It is required that… Read More »

Category: AWS

How to test a Mule project in AWS

By | September 2, 2015

So you finally have Mule ESB installed in AWS EC2. How do you test and verify it? What you can do is upload a project and try it out. Overview: Upload a sample project via scp to AWS. Modify the security rules in AWS Test helloworld application First, you should know how to deploy apps… Read More »

How to install Mule in AWS

By | August 28, 2015

This was an interesting challenge and one where I couldn’t find step by step instructions on Google or the Mulesoft website. So I ended up trying this myself and hope this is useful for others. Prerequisite: – Access to AWS EC2 environment. Step 1: Create a new instance Launch a new Ubuntu instance. Choose at… Read More »