Amazon EC2

docker

How to launch EC2 instance in AWS using Docker-Machine

Reading Time: 4 minutes Hello Readers! We are back again. And In this blog we will learn how we can launch an EC2 instance in AWS using Docker-Machine in a few easiest steps. We have some earlier blogs on EC2 instance which we can refer to are: https://blog.knoldus.com/how-to-launch-ec2-instance-from-aws-cli/ & https://blog.knoldus.com/how-to-create-ec2-instance-using-python3-with-boto3/ So, before starting we again have some prerequisites that we need to follow. These are the following: You must Continue Reading

aws python boto3

How to Create EC2 instance using Python3 with Boto3

Reading Time: 4 minutes Hello Readers! In this blog we will see how we can create EC2 instances using Python3 with Boto3. So, firstly we will see what is AWS Boto3? Basically, AWS Boto3 is a python software development kit for our Amazon Web Services. Here we will see how we can do different operations on AWS services by the help of python scripts and boto3. Versions of Boto Continue Reading

Change AWS EC2 Instance Key Pair without stopping the Instance

Reading Time: 2 minutes If you landed on this blog post then I guess you might be looking for a way to change the Key pair associated with your AWS EC2 Instance without stopping the instance or you’re just following our blog posts 🙂 Either way, I’ll try to explain the easiest way to do just that in this blog post. Let’s start by creating a new Key pair Continue Reading

AWS | Scaling with Amazon ECS

Reading Time: 3 minutes In my last post regarding AWS, I had explained how to launch Amazon ECS cluster including cloud formation, VPC and subnet creation,  ELB and ECS security group creation, auto scaling group, launch configuration, elastic load balancer creation with the help of sample app by creating a task definition, scheduling tasks and configuring a cluster through Amazon ECS First Run Wizard. In this blog, I will Continue Reading

AWS | Introduction to Amazon EC2 Container service

Reading Time: 3 minutes What is Amazon ECS (EC2 Container Service)? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service that supports containers and allows you to easily run and manage Docker enabled applications across a cluster of Amazon EC2 instances. And now you guys are thinking, but what does that mean? It means that the same Docker containers that you currently use will Continue Reading

Play 2.4.X : Microservice Architecture using Play and Scala

Reading Time: < 1 minute Playing-Microservices This blog describes a basic Microservice architecture design using Play 2.4.X and Scala. The big idea behind microservices is to architect large, complex and long-lived applications as a set of cohesive services that evolve over time. The term microservices strongly suggests that the services should be small. In short, the microservice architectural style is an approach to developing a single application as a suite Continue Reading

AWS Services: AWS SDK on the Scala with Play Framework

Reading Time: 3 minutes playing-aws-scala The following blog and attached code represent a simple example of Amazon Web Services in the Scala way with Play Framework using AWScala but in this blog I have implemented only Amazon Simple Storage Service (Amazon S3) functionalities. AWScala: AWS SDK on the Scala REPL AWScala enables Scala developers to easily work with Amazon Web Services in the Scala way. Though AWScala objects basically Continue Reading

Remote profiling using SSH Port Forwarding (SSH Tunneling) on Linux

Reading Time: < 1 minute In this blog post I’ll lay out few steps that are needed for remote profiling using SSH Port Forwarding (SSH Tunneling) using Yourkit profiler.   Steps to be followed on remote machine: 1) Download Yourkit profiler from official Yourkit website. 2) Extract the downloaded file anywhere. 3) What we need to do now is find the file named libyjpagent.so in the extracted folder corresponding to Continue Reading

Running standalone Scala job on Amazon EC2 Spark cluster

Reading Time: 2 minutes In this blog, I would explain how to run a standalone Scala job on Amazon EC2 Spark cluster from local machine. This is a simple example to process a file, which is stored on Amazon S3. Please follow below steps to run a standalone Scala job on Amazon EC2 Spark cluster: 1) If you have not installed Spark on your machine, please follow instructions from Continue Reading

Comparing Google App Engine and Amazon EC2 on Business Drivers

Reading Time: 4 minutes In our last post, we compared the leading cloud vendors on technology. In this post, we would like to look at the business benefits of moving to either GAE or Amazon EC2. If you believe the recent hype in the cloud space, including the Gartner reports then you would see that the cloud is here to stay. What would make sense is to keep a Continue Reading

Comparing Google App Engine and Amazon EC2 on Technology

Reading Time: 6 minutes Recently, at a prospective client, we were asked to make a comparison between Amazon EC2 and Google App Engine. Having recently done fairly large-scale projects on both of them, we think that we could make a fairly valid summarization of our thoughts. With this post, I would like to put our thoughts out for consumption and debate. The three parameters on which I would like Continue Reading

Lock-in, the Overrated Barrier to Cloud Adoption

Reading Time: 4 minutes By definition, lock-in makes a customer dependent on a vendor for products and services, unable to use another vendor without substantial switching costs. That sounds scary. Now let us take a step back and look at all the standards which were available in the traditional world to prevent lock-in. JEE specs sure have a lot of them and that ensures that you would be able Continue Reading