{"id":7605,"date":"2019-11-01T08:35:27","date_gmt":"2019-11-01T08:35:27","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=7605"},"modified":"2022-08-29T07:25:22","modified_gmt":"2022-08-29T07:25:22","slug":"terrform-project-assignment-exercise-part-2","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/terrform-project-assignment-exercise-part-2\/","title":{"rendered":"Terraform Project \u2013 Assignment \u2013 Exercise \u2013 Lab#2: Modules"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">How to submit Assignment?<\/h2>\n\n\n\n<p><strong>Please submit assignment @https:\/\/www.debug.school\/ and POST url share in the comments of this post.<\/strong> <\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Project 1<\/strong> &#8211; Create a terraform Module in which you create a Ec2-instance RHEL7.5, Install JDK and Maven into Ec2-instance and create a jar file using pom.xml. <br> Source Code &#8211; https:\/\/github.com\/scmgalaxy\/helloworld-java-maven<\/li><li><strong>Project 2<\/strong> &#8211; Create a terraform Module in which using Azure you create a virutal machine of RHEL7 and install Ansible and run the run a following ansible role into it.<br> Source Code &#8211; https:\/\/github.com\/devops-school\/ansible-hello-world-role<\/li><li><strong>Project 3<\/strong> &#8211; We are looking to improve the security of our network and have decided we need a bastion server to avoid logging on directly to our servers. Add a bastion server, the bastion should be the only route to SSH onto servers in the VPC.<\/li><li><strong>Project 4<\/strong> &#8211; The team have decided to use the Java framework Spring Boot to build features for our website. Deploy the following sample application into the VPC, reconfigure Nginx as a reverse proxy to the Java app. Provide a Terraform output\/curl command to get the hello world text that the application serves.<\/li><\/ul>\n\n\n\n<p><strong>Source Code<\/strong> &#8211; https:\/\/github.com\/sebwells\/example-java-spring-boot-app<\/p>\n\n\n\n<p>Sample Terraform code &#8211; https:\/\/github.com\/rjbate\/terraform-exercise<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Project 5<\/strong> &#8211; Deploy a sample Tomcat Application on an Azure Virtual Machine Scale Set<ul><li>Create a customized Ubuntu managed image with Tomcat installed<\/li><li>Store the image in a shared image gallery<\/li><li>Create a Key Vault enabled for disk encryption and a Key<\/li><li>Deploy a Virtual machine scale set<\/li><li>Enable service endpoint for Key Vault.<\/li><li>Update key vault access policy to allow scale set subnet.<\/li><li>Enable disk encryption extension and associate with key<\/li><li>Access Tomcat webpage<\/li><\/ul><\/li><\/ul>\n\n\n\n<p>Source &#8211; https:\/\/github.com\/preddy727\/AzureTerraformTemplates<\/p>\n\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_35135\"><figure class=\"wp-block-embed wp-block-embed-youtube is-type-video is-provider-youtube epyt-figure\"><div class=\"wp-block-embed__wrapper\"><iframe loading=\"lazy\"  id=\"_ytid_33788\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  data-epytgalleryid=\"epyt_gallery_35135\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><\/div><\/figure><div class=\"epyt-gallery-list\"><div>Sorry, there was a YouTube error.<\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>How to submit Assignment? Please submit assignment @https:\/\/www.debug.school\/ and POST url share in the comments of this post. Project 1 &#8211; Create a terraform Module in which&#8230; <\/p>\n","protected":false},"author":1,"featured_media":7779,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[5129],"tags":[],"class_list":["post-7605","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-terraform"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/7605","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=7605"}],"version-history":[{"count":6,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/7605\/revisions"}],"predecessor-version":[{"id":31048,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/7605\/revisions\/31048"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/7779"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=7605"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=7605"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=7605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}