DEVOPS PRACTITIONER/Novice/May12-Jun09

Discussion in 'Cloud Computing' started by The Novice, May 11, 2018.

  1. The Novice

    The Novice Well-Known Member
    Alumni

    Joined:
    Feb 19, 2015
    Messages:
    378
    Likes Received:
    407
    Thread created for the DevOps Practitioner Certification Training batch being taken up by Siddharth.
    • This forum/thread has been created for each and everyone who has taken up all or partially the classes which are scheduled of this batch.
    • Ensure all your queries regarding DevOps certification are posted here as and when you have it.
    • This forum will not only be active till the session ends but post that forever. So whenever you have any concerns even after the session completes don't hesitate to use thread.
    • Ensure that maximum benefit of this platform is used by each one of you.
    PS: Please like / comment on the forum messages so that it is visible that you are engaged in the forum discussions. Thanks.
     
    #1
  2. Abhinandan Arya

    Abhinandan Arya Customer
    Customer

    Joined:
    May 10, 2018
    Messages:
    4
    Likes Received:
    8
  3. Gaurav Sharma_29

    Gaurav Sharma_29 Customer
    Customer

    Joined:
    Feb 21, 2018
    Messages:
    1
    Likes Received:
    1
  4. Sumit Naredi

    Sumit Naredi Customer
    Customer

    Joined:
    May 10, 2018
    Messages:
    5
    Likes Received:
    3
    Test- Sumit
     
    #4
    The Novice likes this.
  5. Kumar Vipul Shrivastava

    Customer

    Joined:
    Mar 22, 2018
    Messages:
    1
    Likes Received:
    2
  6. _17303

    _17303 New Member

    Joined:
    Dec 5, 2017
    Messages:
    1
    Likes Received:
    1
    Hi
     
    #6
    The Novice likes this.
  7. HARSHARAJ PARDESHI

    Customer

    Joined:
    Feb 21, 2018
    Messages:
    1
    Likes Received:
    1
     
    #7
    The Novice likes this.
  8. Jitendra Prabhakar Kakade

    Joined:
    May 10, 2018
    Messages:
    3
    Likes Received:
    3
    Exercise for tomorrow’s (13th May 2018) DevOps session:

    1) To completed lab 1.1 (refer download tool) before tomorrow’s session

    2) To read about Linux namespace

    3) To read about Unix Chroot

    4) To read about VM (virtual machine)

    5) Difference architecture and design

    6) Different types of quality requirements

    7) Different types of architecture (client server arch)

    8) To read about Virtualization

    9) To read about terms of Linux (mount, Cgroup, PID)

    10) To read brief about REST and SOAP API
     
    #8
    The Novice likes this.
  9. Jitendra Prabhakar Kakade

    Joined:
    May 10, 2018
    Messages:
    3
    Likes Received:
    3
    #9
    The Novice likes this.
  10. Abhinandan Arya

    Abhinandan Arya Customer
    Customer

    Joined:
    May 10, 2018
    Messages:
    4
    Likes Received:
    8
    Lab 1.1


    DevOps Lab 1.1 Cloud Setup

    These instructions guide you in creating an identity with Google, setting up a billing account, and creating your DevOps project.

    Overview

    In this lab, you sign up for the Google Cloud free trail. To confirm your identity, you must have a credit card or debit card (a pre-paid credit card will not work) to register for the free trial.

    Note that Goggle may debit $1 from your card for validation purposes. It will be refunded immediately.

    What you need

    To complete this lab, you need:

    ● Internet access

    ● Access to a supported Internet browser

    ● A credit card or debit card to register for the free trial

    The following browsers are known to work:

    ● The latest version of Google Chrome, Firefox, or Microsoft Edge

    ● Microsoft Internet Explorer 11+

    ● Safari 8+ (Safari private mode is not supported)

    What you learn

    When you complete this exercise, you will have an account on the Google Cloud Platform and a project ready for the DevOps course.

    Introduction

    In this lab, you register for the Google Cloud Platform free trial. The free trial provides you:

    ● $300 Credit for Free

    Sign up and get $300 to spend on Google Cloud Platform over the next 60 days and discover the power of the GCP products.

    ● You will not be billed

    When you sign up for the free trial, you are asked to provide your credit card information. This information is used only to verify your identity and let Google know you're not a robot. Your credit card is not charged during or after your free trial unless you upgrade to a paid account.

    Register for the free trial

    To register for the free trial:

    Step 1

    Open the free trial registration page:

    https://console.cloud.google.com/freetrial

    Step 2

    If you do not have a Gmail account, follow the steps to create one. Otherwise, log in and proceed to the next step

    Step 3

    Complete the registration form.

    Step 4

    Read and agree to the terms of service.

    Step 5

    Click Accept and start free trial

    Step 6

    Click on the three horizontal bars at the left-hand side of the blue bar near the top of the browser window. This will cause a tray to slide out from the left. In this tray, click on Billing. Next, refresh the browser window. This action will reveal a blue button in the upper right hand corner with the name "UPGRADE". Click on the UPGRADE button and confirm in the dialog box.

    Create the DevOps Project

    Follow these steps to create a Google Cloud Platform project named 'devops' for this course.

    Step 1

    Open the Cloud Platform Console at https://console.cloud.google.com and click Select a project > Create a project

    Step 2

    In the 'New Project' dialog:

    ● For Project name, type DevOps

    ● In you have configured multiple billing accounts, select your preferred account as Billing account.

    ● Click Create

    Create your lab computer

    You will now create a Compute Engine instance that will be your own computer in the cloud for performing all the work during this course.

    Step 1

    Click on the three horizontal bars at the left-hand side of the blue bar near the top of the browser window. Select Compute Engine. Be patient and wait until Google initializes this area of the Google Cloud Platform for you.

    Step 2

    Click on the first icon to the right of the search area in the blue bar. If you hover over this icon, you will see the hint “Activate Google Cloud Shell.” Click on this icon and notice that a terminal is opened at the bottom of the browser window.

    Step 3

    In the Google Cloud Shell window, wait until the prompt is displayed.

    You need to copy an image from a bucket. You first need to create a bucket. You need to create a unique identifier, so type the following command, replacing xyz with your initials and replacing 20170119 with today's date.gsutil mb gs://devops-xyz-20170119

    Now, you need to copy files from a bucket in another project to the new bucket. Type the following command again, substituting your initials and today's date. This can take a few minutes.gsutil cp gs://simplilearn-devops-image/* gs://devops-xyz-20170119/

    Verify that the copy worked, again substituting your initials and today's date.gsutil lsgsutil ls gs://devops-xyz-20170119/

    Close the shell.exit

    Step 4

    Select Images from the left column. A list of images will appear.

    You need to create an image to create a computer. Select CREATE IMAGE at the top of the page. Enter Name student-image
    Leave Family and Description blank.
    Change Source to Cloud Storage file
    Hit Browse and you will see your bucket. Hit the arrow to the right of the bucket, and you will see the two files. Select the latest one ending 20170108.tar.gz.
    Hit Select.

    Now, create an image from the file by hitting Create. It may take a few minutes. The new image should appear at the top of the list of images.

    Step 5

    We are now going to create a computer from the image.

    Select VM Instances from the left-hand column. Select Create Instance.

    Give it the Name lab
    Select a Zone near your location.
    See that it tells you the Effective hourly rate and the estimated monthly cost. This cost will barely impact your $300 credit.

    Choose how many CPUs and how much memory you want. The default is sufficient. Note that more CPUs and more memory increase the cost.

    We need to specify a boot disk. Select Change. You will see a list of OS images. Select the Custom images tab.

    You need to define the Boot disk type. Select SSD persistent disk and give it a Size of 200. Select Select.

    Now, create it by hitting Create at the bottom of the screen. It will take a few minutes.

    You should see the VM Instance. Note that it is running.

    Step 6

    Click the SSH button at the right-hand side of the line of information about your new lab computer. This will open a new browser window with a terminal connection. Find the icon that looks like a gear in the upper right-hand corner of this terminal browser window and select Change Linux User Name. Enter student and click Change. Now, notice the prompt that says "student@lab:~$"

    You now have a working computer for conducting all class work for the DevOps Practitioner course.

    See what is installed. Explore the machine.ls -l

    Step 7

    You will need the build tool Maven for later exercises. We will now install Maven. You need to be root, so use sudo.sudo apt-get install maven
    You will see a long list of dependencies.
    Enter Y to accept them.

    Maven will be installed.

    Check the versions of Java and Maven that are installed.java -versionmvn -v

    Step 8

    Stopping your lab computer.

    Close the SSH window.exit

    You will need to stop the lab computer at the end of each day to prevent it from accumulating costs during the evening and night.

    From the Web UI, you can navigate to the Compute Engine section and select your lab computer. When it is selected, click on the icon representing the "Stop" operation.

    Step 9

    Watch recording to see how to create a VM on Amazon AWS and MS Azure.
     
    #10
    sruthi_9, _7835 and The Novice like this.
  11. Sumit Naredi

    Sumit Naredi Customer
    Customer

    Joined:
    May 10, 2018
    Messages:
    5
    Likes Received:
    3
    LAB 1.1 - Stuck at Step 4 Image Creation, getting below error
    upload_2018-5-16_12-15-28.png

    tried no of times no luck.. not able to move forward...
     
    #11
  12. The Novice

    The Novice Well-Known Member
    Alumni

    Joined:
    Feb 19, 2015
    Messages:
    378
    Likes Received:
    407
    Could you please try these steps from scratch in google chrome.

    Prior to this delete all projects that you have created till date.

    PS: Please like / comment on the forum messages so that it is visible that you are engaged in the forum discussions. Thanks.
     
    #12
    Last edited: May 17, 2018
    _23062, Sumit Naredi and sruthi_9 like this.
  13. Abhinandan Arya

    Abhinandan Arya Customer
    Customer

    Joined:
    May 10, 2018
    Messages:
    4
    Likes Received:
    8
    Day :2

    1. Create an account on dockerhub.
    2. Complete Lab Exercise 2.1
    3. Go through the slides of Module 1 and Module 2 (Till Slide No-59)
     
    #13
    The Novice likes this.
  14. Jitendra Prabhakar Kakade

    Joined:
    May 10, 2018
    Messages:
    3
    Likes Received:
    3
    Pls see attached screenshot for reference (Lab 2.2 - 2.4)
     

    Attached Files:

    #14
    The Novice likes this.
  15. Abhinandan Arya

    Abhinandan Arya Customer
    Customer

    Joined:
    May 10, 2018
    Messages:
    4
    Likes Received:
    8
  16. _7835

    _7835 Member

    Joined:
    May 26, 2017
    Messages:
    2
    Likes Received:
    2
    1. need to complete lab 2.2/2.3/2.4
    2. from module 2, please go through first 120 slides
     
    #16
    The Novice likes this.
  17. _7835

    _7835 Member

    Joined:
    May 26, 2017
    Messages:
    2
    Likes Received:
    2
    homework completion snapshot
     

    Attached Files:

    #17
    The Novice likes this.
  18. Sumit Naredi

    Sumit Naredi Customer
    Customer

    Joined:
    May 10, 2018
    Messages:
    5
    Likes Received:
    3
    Lab 2.2
    I executed - docker build -t ssh:alpine .
    I see a image created without a name.
    what is ssh:alpine ?
     
    #18
    The Novice likes this.
  19. The Novice

    The Novice Well-Known Member
    Alumni

    Joined:
    Feb 19, 2015
    Messages:
    378
    Likes Received:
    407
    • ssh is here the name of the image that you have given to be build from the docker file you ran.
    • alpine is the name of the tag that you have associated with the image name.


    PS: Please like / comment on the forum messages so that it is visible that you are engaged in the forum discussions. Thanks.
     
    #19
  20. The Novice

    The Novice Well-Known Member
    Alumni

    Joined:
    Feb 19, 2015
    Messages:
    378
    Likes Received:
    407
    guess you got the problem & resolution now ;)
     
    #20
    Sumit Naredi likes this.
  21. The Novice

    The Novice Well-Known Member
    Alumni

    Joined:
    Feb 19, 2015
    Messages:
    378
    Likes Received:
    407
    Request all to read something / anything about the Source Code Control System basic concepts.

    Would be helpful in forthcoming session.


    PS: Please like / comment on the forum messages so that it is visible that you are engaged in the forum discussions. Thanks.
     
    #21
    sruthi_9 likes this.
  22. Sumit Naredi

    Sumit Naredi Customer
    Customer

    Joined:
    May 10, 2018
    Messages:
    5
    Likes Received:
    3
    I am executing , docker build -t ssh:alpine . however images is not getting TAG
     
    #22
  23. sruthi_9

    sruthi_9 Member
    Alumni

    Joined:
    Jun 8, 2016
    Messages:
    3
    Likes Received:
    1
    Trying to clone the captone project, stucked at credentials, forgot to take note. can anyone help?
     
    #23
    The Novice likes this.
  24. _28489

    _28489 Member
    Alumni

    Joined:
    Apr 5, 2018
    Messages:
    7
    Likes Received:
    8
     
    #24
    The Novice likes this.
  25. _28489

    _28489 Member
    Alumni

    Joined:
    Apr 5, 2018
    Messages:
    7
    Likes Received:
    8
    Hi Siddharth,

    I have upgrade my course to Devops Architect and Blockchain. Could you please let me know when is your next upcoming batch for Devops Practitioner and Agile Scrum Master.

    kindly update and do the needful.

    Regards,
    Satheesh C.M
     
    #25
    The Novice likes this.
  26. The Novice

    The Novice Well-Known Member
    Alumni

    Joined:
    Feb 19, 2015
    Messages:
    378
    Likes Received:
    407
    These are details of my next DevOps Batch which starts from 26-May at 19:30 - 23:30 IST.

    Let me know if you need any further details.
     
    #26
  27. The Novice

    The Novice Well-Known Member
    Alumni

    Joined:
    Feb 19, 2015
    Messages:
    378
    Likes Received:
    407
    sruthi all credentials are shared in the lab project document itself.
     
    #27
  28. _28489

    _28489 Member
    Alumni

    Joined:
    Apr 5, 2018
    Messages:
    7
    Likes Received:
    8
    Thanks Siddharth, I have registered as same on May 26 Sat - Jun 23 Sat at 19:30 - 23:30 (IST) and also are conducting Agile Scrum Master session. Please let me know.
    Regards,
    Satheesh C.M
     
    #28
    The Novice likes this.
  29. The Novice

    The Novice Well-Known Member
    Alumni

    Joined:
    Feb 19, 2015
    Messages:
    378
    Likes Received:
    407
    Agile Scrum Master is tentatively planned for June end. Will keep you posted.
     
    #29
  30. sruthi_9

    sruthi_9 Member
    Alumni

    Joined:
    Jun 8, 2016
    Messages:
    3
    Likes Received:
    1
    I'm stuck at step 3 (./runserver_first) in captone project.
     
    #30
  31. Sumit Naredi

    Sumit Naredi Customer
    Customer

    Joined:
    May 10, 2018
    Messages:
    5
    Likes Received:
    3
    Lab 3.2 where can I find server configuration file and what is it name ? [Edit the server configuration file, and give anonymous users write access by adding the line anon-access = write to the [general] section. You save and quit vi by typing :wq.
    ]
     
    #31
    The Novice likes this.
  32. The Novice

    The Novice Well-Known Member
    Alumni

    Joined:
    Feb 19, 2015
    Messages:
    378
    Likes Received:
    407
    Sumit, the location of the file is mentioned in the Lab exercise itself. The line that you copy pasted here, just next to that line :)
     
    #32

Share This Page