{
    "id": "ac76e7ae-6d26-4399-a9a3-855932592e22",
    "name": "Implement Azure Bastion",
    "slug": "implement-azure-bastion",
    "status": "published",
    "lab_type": "pta",
    "is_sample": false,
    "duration_in_seconds": 1800,
    "metadata": {
        "courses": [
            "9d8d4179-9915-4895-95e6-178f7ca69436",
            "841fd5c8-3e7d-414a-936e-413b2508ce4d",
            "d912fd3f-d9a9-4107-a303-71f8d2b1f2e5"
        ],
        "pta_sdn": "322",
        "pta_namespace": "my.ine",
        "learning_paths": [],
        "has_published_parent": true
    },
    "session": null,
    "company": "a491bc32-c056-4946-9169-cc053387bada",
    "created": "2022-08-27T23:58:29.972896Z",
    "modified": "2024-06-12T12:36:27.975855Z",
    "is_beta": false,
    "lab_objectives": [],
    "main_learning_area": "d3f82c70-f4e7-428e-afd7-4b1d28988e18",
    "learning_areas": [
        {
            "id": "d3f82c70-f4e7-428e-afd7-4b1d28988e18",
            "name": "Cloud",
            "slug": "cloud"
        }
    ],
    "categories": [],
    "tags": [],
    "difficulty": null,
    "is_web_access": true,
    "is_lab_experience": false,
    "is_featured": false,
    "cve": null,
    "severity": null,
    "year": null,
    "classification": null,
    "is_trackable": false,
    "cpe_credits": null,
    "is_skill_check": false,
    "external_url": "",
    "solution_video": null,
    "explanation_video": null,
    "description": "This lab demonstrates how to utilize Azure Bastion for convenient access and management of multiple virtual machines within a shared network.",
    "description_html": "<p>This lab demonstrates how to utilize Azure Bastion for convenient access and management of multiple virtual machines within a shared network.</p>",
    "tasks": "The goal of this task is to implement a bastion host to provide administrative access to multiple virtual machines on the same virtual network. You will start with a virtual network that has two virtual machines - one Windows and one Linux. You will then provision a bastion host and its required subnet for the virtual network. You will verify the bastion host by connecting to both virtual machines.\n\n# Provision the bastion host\n\nWhen you will login to your azure portal with the generated credentials. You will see that there are some resources pre created for you.\n\nThis all you will need to work with this lab.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/1.png)\n\n## Create a subnet for bastion\n\nGo the the **bastion-vnet** which is created for the virtual machines.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/2.png)\n\nGo to the subnets of the virtual network\n\nClick on **+ Subnet** as highlighted below.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/3.png)\n\nAdd a subnet with below configuration:\n\n* Give it exact name as **AzureBastionSubnet**\n* Specify the subnet range as **10.2.255.0/26**\n\nNow it is required to use at least **/26** prefix for bastion subnet.\n\nClick on **Save** to create the subnet.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/4.png)\n\nAfter a few seconds you can see that our subnet is added to virtual network.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/5.png)\n\n## Provision a bastion host\n\nNow go and search for *bastion* and click on **Bastions** as highlighted below.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/6.png)\n\nClick on **Create** to add bastion hosts.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/7.png)\n\nNow configure your bastion host as below:\n\n* Use the assigned resource group\n* Name the bastion host as **task-bhost**\n* Use the same region as the region of virtual network which is **East US**\n* select the virutal network as **bastion-vnet**\n* It will automatically use the bastion subnet\n* Use create new public IP address\n* Let the name be defualt which is **bastion-vnet-ip**\n\nClick on **Review+Create**.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/8.png)\n\nAzure will validate your configurations and you will see something like the below image. Click on **Create** after you see *Validation passed*\n\n![](https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/9.png)\n\n\nAfter some time the deployment will be done and You will see something like the below image.\n\nYou can click on **Go to resource** to check the bastion host you just created.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/10.png)\n\n# Verify the bastion host\n\n\nNow go to the linux virtual machine which is named as **bastion-web1-vm**. Go to the **Connect** option. Here in *Bastion*, click on **Use Bastion**.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/11.png)\n\nEnter the username as **student** and password as **Pa55w.rd!**.\n\nClick on **Connect** to connect to your virtual machine.\n\n\n![](https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/12.png)\n\nOne new tab will open where you have the SSH connection to our linux virtual machine.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/13.png)\n\nNow go to the windows virtual machine which is named as **bastion-win-vm**. Go to the **Connect** option. Here in *Bastion*, click on **Use Bastion**.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/14.png)\n\nEnter the username as **student** and password as **Pa55w.rd!**.\n\nClick on **Connect** to connect to your virtual machine.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/15.png)\n\nOne new tab will open where you have the RDP connection to our windows virtual machine.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/16.png)\n\nOur lab is now complete.",
    "tasks_html": "<p>The goal of this task is to implement a bastion host to provide administrative access to multiple virtual machines on the same virtual network. You will start with a virtual network that has two virtual machines - one Windows and one Linux. You will then provision a bastion host and its required subnet for the virtual network. You will verify the bastion host by connecting to both virtual machines.</p>\n<h1>Provision the bastion host</h1>\n<p>When you will login to your azure portal with the generated credentials. You will see that there are some resources pre created for you.</p>\n<p>This all you will need to work with this lab.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/1.png\" /></p>\n<h2>Create a subnet for bastion</h2>\n<p>Go the the <strong>bastion-vnet</strong> which is created for the virtual machines.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/2.png\" /></p>\n<p>Go to the subnets of the virtual network</p>\n<p>Click on <strong>+ Subnet</strong> as highlighted below.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/3.png\" /></p>\n<p>Add a subnet with below configuration:</p>\n<ul>\n<li>Give it exact name as <strong>AzureBastionSubnet</strong></li>\n<li>Specify the subnet range as <strong>10.2.255.0/26</strong></li>\n</ul>\n<p>Now it is required to use at least <strong>/26</strong> prefix for bastion subnet.</p>\n<p>Click on <strong>Save</strong> to create the subnet.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/4.png\" /></p>\n<p>After a few seconds you can see that our subnet is added to virtual network.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/5.png\" /></p>\n<h2>Provision a bastion host</h2>\n<p>Now go and search for <em>bastion</em> and click on <strong>Bastions</strong> as highlighted below.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/6.png\" /></p>\n<p>Click on <strong>Create</strong> to add bastion hosts.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/7.png\" /></p>\n<p>Now configure your bastion host as below:</p>\n<ul>\n<li>Use the assigned resource group</li>\n<li>Name the bastion host as <strong>task-bhost</strong></li>\n<li>Use the same region as the region of virtual network which is <strong>East US</strong></li>\n<li>select the virutal network as <strong>bastion-vnet</strong></li>\n<li>It will automatically use the bastion subnet</li>\n<li>Use create new public IP address</li>\n<li>Let the name be defualt which is <strong>bastion-vnet-ip</strong></li>\n</ul>\n<p>Click on <strong>Review+Create</strong>.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/8.png\" /></p>\n<p>Azure will validate your configurations and you will see something like the below image. Click on <strong>Create</strong> after you see <em>Validation passed</em></p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/9.png\" /></p>\n<p>After some time the deployment will be done and You will see something like the below image.</p>\n<p>You can click on <strong>Go to resource</strong> to check the bastion host you just created.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/10.png\" /></p>\n<h1>Verify the bastion host</h1>\n<p>Now go to the linux virtual machine which is named as <strong>bastion-web1-vm</strong>. Go to the <strong>Connect</strong> option. Here in <em>Bastion</em>, click on <strong>Use Bastion</strong>.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/11.png\" /></p>\n<p>Enter the username as <strong>student</strong> and password as <strong>Pa55w.rd!</strong>.</p>\n<p>Click on <strong>Connect</strong> to connect to your virtual machine.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/12.png\" /></p>\n<p>One new tab will open where you have the SSH connection to our linux virtual machine.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/13.png\" /></p>\n<p>Now go to the windows virtual machine which is named as <strong>bastion-win-vm</strong>. Go to the <strong>Connect</strong> option. Here in <em>Bastion</em>, click on <strong>Use Bastion</strong>.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/14.png\" /></p>\n<p>Enter the username as <strong>student</strong> and password as <strong>Pa55w.rd!</strong>.</p>\n<p>Click on <strong>Connect</strong> to connect to your virtual machine.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/15.png\" /></p>\n<p>One new tab will open where you have the RDP connection to our windows virtual machine.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/implement-azure-bastion/16.png\" /></p>\n<p>Our lab is now complete.</p>",
    "published_date": "2020-06-16T15:32:04Z",
    "solutions": "",
    "solutions_html": "",
    "flags": [],
    "min_points_to_pass": null,
    "access_type": "web",
    "user_status": "unstarted",
    "user_lab_status": null,
    "user_status_modified": null,
    "user_flags": [],
    "global_running_session": null
}