Febin John James's Blog, page 19

March 24, 2017

rstevens your cartoons are really good :) .

rstevens your cartoons are really good :) . I also want to learn to make them. Don’t have a good background with art. Where shall i begin?

 •  0 comments  •  flag
Share on Twitter
Published on March 24, 2017 00:13

March 22, 2017

Ron Williams MVP stands for Minimum Viable Product. Apologies will update the article.

Ron Williams MVP stands for Minimum Viable Product. Apologies will update the article.

 •  0 comments  •  flag
Share on Twitter
Published on March 22, 2017 11:17

Scott Leandro I can explain this.

Scott Leandro I can explain this. So S3 is for public access that is through the web protocol http. Consider this link for example. It’s an image of my new blog post. This will be accessed through a browser or a mobile app. The public users can frequently access this image not a problem. However, consider you have an app which need to access it’s database. This is internal access. Here the file access speed needs to be much higher and much more frequent. For this use case S3 is slow and is not preferred. Let me know if its clarified, otherwise I will try again.

 •  0 comments  •  flag
Share on Twitter
Published on March 22, 2017 08:41

Building a start-up from scratch Pt 1 : Identifying the problem

I am not sure if anyone has done this before or will do anything as crazy as this

 •  0 comments  •  flag
Share on Twitter
Published on March 22, 2017 06:45

March 21, 2017

How can my business benefit from AWS Pt 2 : Which storage service to use?

This is a continuation of How can my business benefit from AWS Pt 1 . In part two of the series I will cover about the storage section of AWS. If you have any doubts or find terms difficult to understand, please comment here. I can improve the story and this can benefit a lot of people.

Make sure you follow Hackernoon and me (Febin John James) . If you need help with any specific topic on cloud computing, you can use this form to make requests.

If you are interested in making apps on cloud , do checkout my book Cloud Is a Piece of Cake on Amazon.

AWS S3

AWS S3 (Amazon Simple Storage Service) allows you to store files for public access. If you have files which a lot of users access frequently, S3 works perfect. Such as images of this blog article which thousands of readers access is an example.

AWS EFS

AWS EFS is a storage for EC2 Instances or virtual machines. It works on an actual file system. This allows your virtual machines to access data very fast. AWS S3 is not preferable here because they work on HTTP protocol and is very slow for frequent access. If you are self hosting your database , EFS is a good storage option.

AWS Glacier

AWS Glacier allows you to store data for infrequent access. It’s made for storing backups. The price is significantly less compared to S3. Remember this is not a good option if you want frequent access.

AWS Storage Gateway

AWS Storage Gateway is a good option when your on-premise app want to access data from the cloud. It gives you access to data with a very low latency. This is a good use case for enterprise applications.

In order to calculate prices you can use this tool.

You can also join my mailing list Cloud Computing Stories. I will use this to notify you if I write new stories or books on Cloud Computing.

How can my business benefit from AWS Pt 2 : Which storage service to use? was originally published in Hacker Noon on Medium, where people are continuing the conversation by highlighting and responding to this story.

 •  0 comments  •  flag
Share on Twitter
Published on March 21, 2017 07:48

Jemshit Iskenderov A very valid point.

Jemshit Iskenderov A very valid point. Will update the story with it. Here’s how you can calculate the prices https://calculator.s3.amazonaws.com/index.html.

 •  0 comments  •  flag
Share on Twitter
Published on March 21, 2017 06:30

March 20, 2017

How can my business benefit from AWS Pt 1

I spend a few days answering questions about Cloud Computing on Quora. This question caught my interest. I decided to write about this since it can benefit a lot of people. Since AWS has got a lot of tools, I decided to cover them in parts. This is part one of the series.

Make sure you follow Hackernoon and me (Febin John James) . If you need help with any specific topic on cloud computing, you can use this form to make requests.

If you are interested in making apps on cloud , do checkout my book Cloud Is a Piece of Cake on Amazon.

In part one of the series. I will cover the compute section of AWS. If you have any doubts or find terms difficult to understand, please comment here. I can improve the story and this can benefit a lot of people.

AWS EC2

If your service needs to be accessible to customers on the internet, you will need to host it on a computer or a server. Earlier we used to buy or rent these servers. If your service gets less traffic than expected, then you will have huge losses. If the traffic spikes you have a time consuming process to scale it up.

You don’t have to worry about these issues with EC2. Here you can start with a instance of your need, and configure it to scale up according to the traffic.

AWS allows you to choose the OS (Linux) of your choice for your instance. You get complete ownership of the instance/computer. You can install the softwares of your choice in it.

You can also use these instance to perform heavy process. People use AWS P2 Instances to run deep learning algorithms. Since they have got High-performance NVIDIA K80 GPUs.

AWS EC2 Container Service

In Ec2 you get a computing instance with an Operating System. Linux Operating Systems comes with a lot of tools. Some of them are not necessary for your application. This also consumes resources.

Hence we made containers. Containers can be build to only have the necessary libraries or tools to make your service work. Hence, this is lightweight and efficient.

AWS EC2 Container Service allows you to host your container on the cloud. They also provide tools to scale it.

AWS Lightsail

AWS Lightsail is a simplified version of AWS Ec2. AWS EC2 can be complicated for beginners. Because you will need to configure SSD Storage, DNS Management, Static IP etc . You have also got to pay additional charges for bandwidth.

In Lightsail these come as a pre-configured package. Also the charges are fixed. There are pre-configured images for wordpress, LAMP, MEAN etc. Hence, it’s easy for deployment.

AWS Elastic Beanstalk

In EC2 , there are a lot of steps before you deploy your app on cloud. You will need to choose the configuration, set up autoscaling, security groups etc.

Using AWS Elastic Beanstalk developers only have to upload the code(Java, .NET, PHP, Node.js, Python, Ruby, Go, Docker). The other procedures are automated. AWS will choose the EC2 Instance, Setup Load Balancing, Auto Scaling, etc.

AWS Lambda

In EC2, we have a server running all the time. This can be inefficient for some use cases.

Consider this, you have setup a EC2 server which is configured to resize an image whenever it is uploaded. What if there is only one image upload a day? You are still paying for the running hours of EC2 instance. Pretty inefficient rite?

AWS Lambda is build for these type of use cases. Here you go server less by configuring a trigger in lambda. In our example the trigger is image upload. You can write a function in AWS Lambda to process the uploaded image. So you only pay when your computing resources are used.

AWS Batch

AWS Batch is used to run batch processing jobs efficiently. Consider genome sequencing. There are lot of procedures which needs to be performed step by step. Each step is dependent on the previous data. Each step may have different computing requirements.

AWS Batch automatically take cares of provisioning the computing requirements and does the heavy lifting. So you can focus more on solving the problem and worry less about running it efficiently.

You can also join my mailing list Cloud Computing Stories. I will use this to notify you if I write new stories or books on Cloud Computing.

How can my business benefit from AWS Pt 1 was originally published in Hacker Noon on Medium, where people are continuing the conversation by highlighting and responding to this story.

 •  0 comments  •  flag
Share on Twitter
Published on March 20, 2017 05:42

March 17, 2017

Reschedule your day for better results in productivity

Gary Keller in his book The One Thing explains that “Willpower is Always on Will-Call” is a lie.

Willpower is not readily available whenever you ask for it. Every time you use it , you are depleting it’s reserve.

Willpower is at it’s peaks when the day starts. We can use this knowledge for our benefit. To maximize productivity all we have to do is to put the important tasks at the beginning of the day.

I usually schedule coding or writing books at the start of the day. In the evening, I usually spend time in reading blog posts, watching movies etc.

Try this simple technique and see how your day turns out.

Reschedule your day for better results in productivity was originally published in Hacker Noon on Medium, where people are continuing the conversation by highlighting and responding to this story.

 •  0 comments  •  flag
Share on Twitter
Published on March 17, 2017 21:14

Nice post. Is there any place where I can get more resources to learn about finding meta problems?

Nice post. Is there any place where I can get more resources to learn about finding meta problems?

 •  0 comments  •  flag
Share on Twitter
Published on March 17, 2017 07:36

March 14, 2017

This reminds me of the book The Checklist Manifesto. Very true, programmers need to adopt it.

This reminds me of the book The Checklist Manifesto. Very true, programmers need to adopt it.

 •  0 comments  •  flag
Share on Twitter
Published on March 14, 2017 08:37