image block
1606 Views 149 Comments
Hi, my dear friend! Today we are going to start the great path to learning cloud systems.
I'll try to do my best that describe in smallest details the process of moving to AWS of your application or creation new one. So, let's get it started.
This post implies the existence of account on Amazon.

Overview and objectives

Before we start the installation of our instances on AWS we need to clarify a lot of definitions which will be using on this post, that we do not stop on describing each of them.
Cloud - it's information resources (it can be anything, VM, Storage, Database etc.) which can be managed and used with minimal effort, often over the Internet.
AWS (Amazon Web Services) - the company which provides access to cloud resources for use.
AWS technologies :
  • EC2 - Amazon Elastic Compute Cloud (virtual machine)
  • S3 - Amazon Simple Storage Service (storage)
  • RDS - Amazon Relation Database Service (relation database)
  • EBC - Amazon Elastic Block Store (block level storage volumes for use with Amazon EC2 instances)
  • CloudWatch - Amazon monitoring system
  • ElasticIP - Amazon Static IP address
  • ElastiCache - Amazon fully managed in-memory data store and cache service
  • ElasticLoadBalancer - Amazon service for load balancing and redirecting traffic
The main objective of this post will be the creation of instance and database on AWS and configure monitoring to them.

First steps on AWS and launching of services

Like the first step, let's review the main page of Amazon console.

A little hint, before you start the launching of services, choose needed for your region, where your services will be stored.
The start of our journey will be from defining of IP address which will be assigned to our EC2 instance. To do this, go to the EC2 service and in "NETWORK & SECURITY" tab, click on Elastic IPs. And after clicking of the button "Allocate new address" you will see on your list of Elastic IPs your record.

The next step will be launching of VM and assigning to it our new IP.
To launch an instance, go to "Instances" tab and press "Launch Instance" button. And in the first step of creation, you need to choose OS for your machine. The second step gives you the possibility to choose instance type. Do your choice based on needed performance and requirements of your application. The step 3 and 4, please choose due to your requirements, also. On step 4, please carefully set needed for you, storage. Step 5 gives you the possibility to assign tags to your instance, which will be useful when you have a lot of services on AWS. If it's your first node, you can skip it. And I want to make attention on step 6 "Security Groups".
All services inside AWS are working due security group which assigned to it. AWS Security groups give you the possibility to allow or deny connections to your services from outside or inside of the network. In general, it looks like IPtables, table of addresses and ports due which is working network on the instance. As like we want to launch instance with public IP and connected to RDS, so please create new security group and add to list ports: 80 (http) and 3306 (mysql).
And before launch in the final step of the instance, you need to choose the SSH key for connection to your new instance. You can auto-generate it via Amazon or choose existing one.
If you want to create SSH keys by yourself, you can use this official manual SSH communication security
The new instance you can find on instance list.

Until then that the instance in pending state, we can assign to it Elastic IP, which one we have created before. To do this, select the VM and click on "Action" button, "Network" and "Manage IP Addresses", select created elastic IP.
The almost same steps need to do for the launching of our database.
Choose needed options and provide credentials for you DB and you will see the new database on your console. Only one thing, on "Security group" tab, select your new group to availability it from your EC2.

AWS Dashboards

And now we came to step of monitoring on AWS.
When we have created any services, Amazon automatically is running the monitoring on them of few default metrics. This metrics we will review and also will create the dashboards to easier of the monitoring process.
In this will help us the management Amazon tool, "CloudWatch".
There you can find a lot of tabs, so let's review one by one them. And like the first step, you can go to tab "Metrics".
On this tab, you will see all metrics which are collecting from your services on Amazon and using needed filters, you can create needed graphs for the view. But for more comfortable using, Amazon provides "Dashboards", where we can generate and choose needed for us graphs on one screen.
Like for example on the screenshot below, you can see dashboard "Mine-EC2" with three graphs, which one I have created due to metric types.
It's pretty much easy, you just create the dashboard and assigned to it needed graphs.
It is very useful, that you can create one dashboard for your all application and watch on them when it will be needed.

AWS Alarms

Amazon also provides for customers possibility of notification when is something going wrong. And for this target also will help "CloudWatch". Let's review a little example.
Just imagine, that we need to get the notification when CPU utilization load is going up on servers. It's very important, cause due to this our application can be working slowly or even at all can crash. So we need to have email notification in this case.
Click on "Create Alarm" and choose needed parameters. For example, I have created Alarm on CPU Utilization of my instance. This check will be running every minute and if the value will be more than 1, I should receive the email message. Let's check it.
Of course, if we want to check it, we should make some load on our VM. And help on it can command dd
dd if=/dev/zero of=/dev/null
After running it, we should notice that CPU utilization load is going up and the alert system should set it to the warning state and after send an email with critical status.

Nice, warning state has been set. Wait one more minute.

Awesome! Our alert is working and I have received an email regarding this issue.

AWS Events

Also, Amazon provides not the less useful function of events. Amazon Events has provided for us to assign some action on some incident.
And of course example, we need to create the rule on the event, when the instance is going to shut down or stopping, the event should try to reboot this instance and maybe it will save us from long downtime.
Click on "Create rule" button and fill the needed form.
On next page set the name and give permissions on this action.

And here we go. We received needed event.

Now we're finished chapter related to monitoring on AWS. The one thing that we did not review this post, it's logging system of AWS, but it will be on next post of Amazon services.

Thanks, everyone to join us, it's very cool that we can learn and develop together. I hope this information was useful for you.

Always your,


  1. Very well information, thank you!

  2. is viagra bad for your heart <a href="">viagra forced cum</a> does medicare part d cover generic viagra

  3. sildenafil citrate generic viagra <a href="">how much does viagra 50mg cost</a> how long does a 100mg viagra last?

  4. viagra tips <a href="">over the coubter viagra</a> viagra april 2020

  5. donde comprar viagra sin receta <a href="">10 mg viagra</a> vlue viagra tablets

  6. generic viagra costco <a href="">using viagra</a> viagra price canada

  7. lovely lilith viagra falls 3 <a href="">viagra lisinopril</a> naked viagra prank

  8. online pharmacy viagra no prescription <a href="">where can i buy viagra without prescription</a> non prescription viagra walmart

  9. viagra made in india safe <a href="">100 mg viagra</a> street value of viagra 2015

  10. viagra canada with prescription <a href="">viagra without a prescription</a> online prescriptions viagra

  11. viagra and alacohol <a href="">viagra anxiety</a> herbal viagra side effects

  12. cheap viagra without prescription <a href="">order viagra online without prescription</a> is viagra available without prescription

  13. what do viagra look like <a href="">viagra vision side effects</a> can you drink alcohol while taking viagra

  14. prescription for viagra canada <a href="">viagra without a doctor's prescription</a> viagra prescription online usa

  15. viagra without a doctor prescription <a href="">low cost viagra with prescription</a> non prescription viagra alternative

  16. buy viagra online without prescriptions <a href="">pfizer viagra without a doctor prescription</a> without a doctor prescription viagra

  17. viagra 1996 x guest book <a href="">buy viagra nyc</a> fifi foxx viagra

  18. pfizer viagra canada pharmistry <a href="">does lname cover generic viagra</a> what is in viagra

  19. sildenafil generic release date <a href="">sildenafil effect on females</a> vigorex sildenafil 100mg

  20. essential oils and sildenafil <a href="">sildenafil citrate gnc</a> how do you use sildenafil

  21. sildenafil 100 no rx <a href="">sildenafil 20 mg for female</a> teva sildenafil reviews

  22. sildenafil cost in bronchopulmonary dysplasia treatment <a href="">sams club sildenafil price</a> sildenafil 1a pharma 100mg preis

  23. sildenafil headache <a href="">sildenafil citrate 100mg severe heartburn</a> sildenafil que es

  24. sildenafil wallgreens <a href="">20 mg of sildenafil</a> sildenafil foe erections

  25. cock with viagra <a href="">nitrates and viagra</a> new white viagra

  26. sildenafil pfizer online <a href="">sildenafil citrate 120 mg</a> free online prescription for sildenafil

  27. can sildenafil cause glaucoma <a href="">can i ssplit sildenafil tablets</a> sildenafil citrate 100mg kaufen

  28. viagra bdsm <a href="">viagra user reviews</a> can i eat before taking viagra

  29. how quickly does viagra work <a href="">what does womens viagra do</a> what pill is similar to viagra

  30. drugs containing sildenafil <a href="">sildenafil purchase online</a> sildenafil tablets what are they for

  31. pmi sildenafil <a href="">sildenafil side effects in children</a> online sildenafil

  32. can you mail viagra through the usps <a href="">non prescription viagra substitute</a> viagra time lapse

  33. viagra generic <a href="">best otc viagra</a> how long dies viagra last

  34. viagra buy online usa <a href="">what is better cialis or viagra</a> viagra trial sample

  35. online viagra roman <a href="">cheap viagra judpharmacy</a> shemal viagra

  36. female viagra tea <a href="">how long before intercoaese should you take viagra</a> watermelon seeds viagra

  37. can you buy over the counter viagra <a href="">viagra fda label</a> red that replaces viagra

  38. how do you get cialis <a href="">cialis 5mg online canada</a> cialis out of date

  39. can i order cialis online <a href="">cialis weight loss</a> daily cialis vs viagra

  40. cialis online kaufen <a href="">how to get cialis without prescription</a> cheap cialis overnight delivery

  41. discount viagra and cialis <a href="">buy cialis next day delivery</a> how much does cialis cost?

  42. cialis and coffee <a href="">cialis prescription costs</a> canada pharmacy generic cialis

  43. cialis videos <a href="">cialis 30 day trial coupon printable coupon</a> best place to buy cialis online

  44. cialis online india <a href="">viagra vs cialis reddit</a> safest place to purchase generic cialis

  45. cialis tadalafil 20mg tablets <a href="">problems with cialis daily</a> cialis ingredients vs viagra ingredients

  46. cialis viagra <a href="">make cialis work better</a> alternatives to cialis

  47. cialis 20 mg price comparison <a href="">cialis sample request</a> canadian cialis 20mg

  48. cost of daily cialis <a href="">can cialis cause cancer</a> cialis cost at walmart pharmacy

  49. lisinopril cialis interaction <a href="">cialis pill sizes</a> how much does cost cialis

  50. 40 mg cialis dangerous <a href="">youtube cialis commercial</a> side effects of cialis at 5mg

  51. cbd oil reviews 2018 <a href="">cbd oil muscle pain</a> does cbd oil get you high?

  52. hebery free cbd oil <a href="">cbd oil website</a> kilmarnock va cbd oil

  53. cbd oil in pennsylvania <a href="">caligsrden cbd oil reviews</a> what does cbd oil stand for

  54. cbd oil placed in veg caps <a href="">where to buy real cbd oil</a> michigan cbd oil laws

  55. cbd vape oil for sale in ocean city maryland <a href="">how often to take cbd oil for anxiety</a> where to buy cbd oil for dogs

  56. cbd oil for pain <a href="">cbd oil and bone on bone pain</a> cbd oil for pain

  57. what is cbd oil for pain <a href="">what is cbd oil for pain</a> does cbd oil help with nerve pain

  58. cbd hemp oil capsules <a href="">is cbd oil legal in tennessee 2017</a> cbd oil south bend indiana for sell

  59. purmed cbd oil <a href="">how to mix cbd oil with coconut oil</a> does cbd oil help ibs

  60. cbd hemp oil walgreens <a href="">cbd oil and drug tests</a> cbd oil anti seizure

  61. cbd oil lds fname <a href="">where to get cbd oil for dogs</a> rock 'n roots cbd oil review

  62. can cbd oil with thc make me high <a href="">cbd oil manufacturing locations near me</a> nc cbd oil

  63. cbd oil what are the prices <a href="">places to buy cbd oil in nc</a> does cbd oil help migraines

  64. new life cbd oil <a href="">does cbd oil cause liver damage</a> cbd oil metairie

  65. lazarus cbd oil website <a href="">cbd oil helps tennis elbow</a> cbd oil interaction with other drugs

  66. orginal cbd oil 4% cbd <a href="">skunk xname cbd oil</a> cbd oil for canine anxiety

  67. does cbd oil interact with medications <a href="">best cbd oil 2018</a> drugs that interact with cbd oil

  68. plexus cbd oil <a href="">cbd oil tablets</a> verified cbd oil

  69. cbd oil legal indiana <a href="">clarify cbd oil (cbdrx cbd oil)</a> smokable cbd oil

  70. cbd oil chapstick <a href="">best value cbd oil</a> cbd oil brand reviews

  71. cbd oil for sale in wendell, nc <a href="">best cbd oil on the market 2018</a> cbd oil tn

  72. cbd oil philadelphia <a href="">will cbd oil show up on urinalisis</a> cbd oil free

  73. can i have an allergy to cbd oil <a href="">does cbd oil counteract thc</a> order cbd oil

  74. cbd oil balm extra strength <a href="">buy cbd oil amazon</a> herbal formula cbd oil

  75. metalab cbd oil <a href="">does cbd oil help gout</a> does cbd oil interact with dexilant

  76. cbd oil little rock <a href="">beezbee cbd oil</a> cbd vape oil with thc

  77. best cbd oil for pets with ivdd <a href="">cbd oil and pain</a> is cbd oil legal in ct

  78. shaman cbd oil <a href="">thc free cbd oil</a> will cbd oil show up on urinalisis

  79. cvs pharmacy cbd oil <a href="">purpose of cbd oil</a> nuleaf cbd oil reviews

  80. cbd oil and insomnia <a href="">cbd oil and allegra</a> cbd oil benefits dosage

  81. buying cbd oil legally <a href="">what are the contraindications for cbd oil</a> ky cbd oil for sale

  82. does cbd oil show in a drug test <a href="">high cbd oil sale nutrahemp</a> cbd oil for use topically

  83. cbd oil reviews 2017 <a href="">what is medical grade cbd oil</a> free bottle cbd oil

  84. cbd oil arthritis <a href="">nuleaf cbd oil review</a> does cbd oil help with ovaries pain

  85. a fantastic read <a href="">blog</a> check out this site

  86. weblink <a href="">he has a good point</a> find out here now

  87. take a look at the site here <a href="">Read More Here</a> More Bonuses

  88. get the facts <a href="">browse around these guys</a> Click Here

  89. have a peek here <a href="">browse around this web-site</a> find more information

  90. linked here <a href="">site</a> sneak a peek at this website

  91. More hints <a href="">continue</a> webpage

  92. his comment is here <a href="">visit this web-site</a> click this site

  93. view it <a href="">read here</a> read what he said

  94. Homepage <a href="">sources tell me</a> investigate this site

  95. click this link <a href="">go to this website</a> on the main page

  96. official website <a href="">discover this</a> you could try these out

  97. browse around these guys <a href="">additional reading</a> click for more info

  98. company website <a href="">visit here</a> dig this

  99. resource <a href="">check</a> continued

  100. url <a href="">go to my blog</a> browse this site

  101. find out here <a href="">webpage</a> his response

  102. visit <a href="">index</a> click this link here now

  103. visit this site right here <a href="">my company</a> try this

  104. news <a href="">Recommended Site</a> official statement

  105. see this site <a href="">top article</a> cool training

  106. their website <a href="">find here</a> browse around this website

  107. moved here <a href="">find out here</a> this content

  108. made a post <a href="">how you can help</a> visit this page

  109. click for more <a href="">here are the findings</a> check out your url

  110. visit the site <a href="">Bonuses</a> click reference

  111. why not try this out <a href="">navigate to this web-site</a> dig this

  112. why not check here <a href="">Read Full Article</a> Learn More Here

  113. you can check here <a href="">visit this website</a> look at this website

  114. lowest price <a href="">go to the website</a> site

  115. my explanation <a href="">Web Site</a> her comment is here

  116. look at here <a href="">Discover More</a> Read More Here

  117. find more <a href="">her latest blog</a> redirected here

  118. visit here <a href="">this content</a> enquiry

  119. browse around this web-site <a href="">sell</a> describes it

  120. continue <a href="">he has a good point</a> weblink

  121. read full report <a href="">This Site</a> navigate to these guys

  122. look at this site <a href="">browse this site</a> learn the facts here now

  123. continue reading this <a href="">pop over to this website</a> have a peek at these guys

  124. what would happen if a girl took viagra <a href="">how can i get viagra without going to the doctor?</a> viagra and blood pressure

  125. are cbd and hemp oil the same <a href="">cbd oil ratings 2019</a> is cbd oil legal in md

  126. is there generic viagra <a href="">where can i buy viagra or generic in houston tx pharmacy</a> viagra nao precisa receita

  127. does walmart sell cbd oil in store <a href="">honey b cbd oil</a> cbd oil application

  128. viagra on medicade <a href="">with and without viagra</a> viagra cuanto tiempo antes

  129. viagra demonstration penis <a href="">how long does viagra stay in your system</a> comagra viagra

  130. will cbd oil be absorbed through skin <a href="">which is better cbd oil or hemp oil</a> cbd hemp oil capsules

  131. mckinney pharmacy cbd oil <a href="">adhd cbd oil</a> can cbd oil cause a positive urine drug test

  132. cbd oil 45014 <a href="">cbd vs hemp oil for pain</a> cbd oil store jonesborough tn

  133. best cbd oil for pain <a href="">will cbd oil help caner</a> is cbd oil legal for federal employees

  134. pfizer viagra coupons from pfizer <a href="">taking half a viagra for fun</a> lichen planus caused by viagra

  135. take viagra under the tounge <a href="">india viagra generic truth</a> viagra natural para hombres

  136. viagra warehouse <a href="">geting an erection after viagra</a> herb viagra amazon

  137. cbd oil near me for sale <a href="">is cbd oil good for arthritis</a> cbd cannabis oil tsa policy

  138. what is the female viagra called <a href="">viagra purple pill</a> long term effects of viagra

  139. try ctfo cbd oil <a href="">is it legal to fly with cbd oil</a> cbd massage oil for sale

  140. viagra with high blood pressure <a href="">cost for viagra</a> what is in viagra ingredients

  141. buy canadian viagra <a href="">viagra best price at walmart</a> canada pharmacy viagra

  142. cbd oil cape girardeau <a href="">is cbd oil legal in nebraska 2018</a> jacob hooy cbd oil review

  143. cbd oil locations <a href="">is cbd hemp oil legal</a> dizziness after taking cbd oil

  144. cialis daily online pharmacy <a href="">cialis vs cialis professional</a> cialis coupons for cvs

  145. cialis how long to work <a href="">cialis 2.5 mg every other day</a> cialis viagra melanoma

  146. cialis daily reviews <a href="">where can you purchase generic cialis</a> what is cialis black

  147. online consult cialis il <a href="">buy cialis online reviews</a> best deal on cialis

  148. can cbd oil help with ibs symptoms <a href="">garners cbd oil</a> cbd oil for depression and bipolar

  149. charlolttes web cbd oil 600 mg <a href="">cbd oil for diabetics</a> full spectrum cbd oil for sale 97504

  150. Leave a Comment