<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Hermann PRISO on Medium]]></title>
        <description><![CDATA[Stories by Hermann PRISO on Medium]]></description>
        <link>https://medium.com/@hermann.priso?source=rss-57cc590768a3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*AGHKThVxcsnHJSKTxmvpvw.jpeg</url>
            <title>Stories by Hermann PRISO on Medium</title>
            <link>https://medium.com/@hermann.priso?source=rss-57cc590768a3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 08:01:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hermann.priso/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[NFV AND OPENSTACK : DEPLOYMENT OF OSM (Open Source MANO)]]></title>
            <link>https://awstip.com/nfv-and-openstack-deployment-of-osm-open-source-mano-12d60c5d7166?source=rss-57cc590768a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/12d60c5d7166</guid>
            <category><![CDATA[nfv]]></category>
            <category><![CDATA[openstack]]></category>
            <category><![CDATA[sdn-nfv]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[Hermann PRISO]]></dc:creator>
            <pubDate>Tue, 27 May 2025 14:28:47 GMT</pubDate>
            <atom:updated>2025-05-28T16:28:00.327Z</atom:updated>
            <content:encoded><![CDATA[<h3>NFV AND OPENSTACK : DEPLOYMENT OF OSM (Open Source MANO)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/358/0*941AfRyXsWq0Rlwf.png" /><figcaption><a href="https://www.google.fr/imgres?q=open+source+mano&amp;imgurl=https%3A%2F%2Fosm.etsi.org%2Fimages%2FOSM-logo.png&amp;imgrefurl=https%3A%2F%2Fosm.etsi.org%2F&amp;docid=2I0EhPYB6wzABM&amp;tbnid=mXUtrA4wj580dM&amp;vet=12ahUKEwj809e0ipuNAxUYKvsDHc8QIwgQM3oECB4QAA..i&amp;w=358&amp;h=125&amp;hcb=2&amp;ved=2ahUKEwj809e0ipuNAxUYKvsDHc8QIwgQM3oECB4QAA">Source</a></figcaption></figure><h3>1. Definition of OSM</h3><p>According to the <a href="https://osm.etsi.org/">official site</a>, Open Source Mano is defined as an ETSI-hosted project to develop an Open Source NFV Management and Orchestration (MANO) software stack aligned with ETSI NFV.</p><h3>2. NFV architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*pdVW_o69cQlRWpZl.png" /><figcaption><a href="https://www.google.fr/url?sa=i&amp;url=https%3A%2F%2Fblog.equinix.com%2Fblog%2F2019%2F10%2F17%2Fnetworking-for-nerds-defining-the-elements-of-nfv-architectures%2F&amp;psig=AOvVaw1gPSEUNkxQkXvjQRIDBI3p&amp;ust=1747040785116000&amp;cd=vfe&amp;opi=89978449&amp;ved=0CBQQjRxqGAoTCODjyJ-Im40DFQAAAAAdAAAAABCZAQ">Source</a></figcaption></figure><h3>3. Installation of OSM</h3><p><strong><em>1. Prerequisites</em></strong></p><p>For the installation of OSM, I need a VM with the following requirements :</p><p>OS : Ubuntu Server 24.04</p><p>CPU : 4</p><p>RAM : 16 GB</p><p>Disk : 80 GB</p><p>I also need the VM to run <em>OpenStack</em>. For the case, I deploy <em>MicroStack.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/0*C5iFTwHX5i0VUrW7.png" /><figcaption>Source</figcaption></figure><p>“Canonical MicroStack is an open source project that enables you to easily deploy a fully-functional OpenStack environment on your workstation or even a virtual machine (VM) in minutes”.</p><p>It currrently provides OpenStack services such as Keystone, Nova, Glance, Neutron and Horizon.</p><p>So, I run the following commands to install and initialize MicroStack.</p><pre>sudo snap install microstack --classic --beta<br>sudo microstack.init</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*GYKGVOprA5H9GTi6.png" /></figure><p>To get the default password to login with the <em>admin</em> username, I run the command :</p><pre>sudo snap get microstack config.credentials.keystone-password</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*3iU3tOSuia8gwUPv.png" /></figure><p>I download an Ubuntu Server image 20.04 in order to use MicroStack as VIM.</p><p>As I used snap for MicroStack installation, I change directory to the default location for saving the image :</p><pre>cd /var/snap/microstack/common/images/<br>sudo wget https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img<br>microstack.openstack image create --file=&quot;./focal-server-cloudimg-amd64.img&quot; --container-format=bare --disk-format=qcow2 ubuntu20.04<br>microstack.openstack image list</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*z9xTRDxty_skwwQV.png" /></figure><p><strong><em>2. Installation</em></strong></p><p>To install OSM, I download the installation file :</p><pre>wget https://osm-download.etsi.org/ftp/osm-14.0-fourteen/install_osm.sh<br>chmod +x install_osm.sh<br>./install_osm.sh</pre><p><em>OSM is in version 17 now.</em></p><p>After the installation, I check the objects created :</p><pre>helm list --all-namespaces<br>kubectl get svc -n osm<br>kubectl get deploy -n osm<br>kubectl get sts -n osm</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*LMhwPk4Ny5NBt0Dd.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*3UnpKQm4HuV69S7s.png" /></figure><p>I log in to the application</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*p6PSh1fApjmEQ6mo.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*7ZGYDBhiWlH_jsG8.jpeg" /></figure><p>To interact with OSM by commands, I install <em>osmclient</em> :</p><pre>sudo snap install osmclient</pre><h3>4. Adding VIM to OSM</h3><p>Before adding MicroStack as VIM to OSM, I first create a keypair :</p><pre>microstack.openstack keypair create microstack</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*kpPlz1dhXs0LS6tv.png" /></figure><ul><li>And I run the command below :</li></ul><pre>osmclient.osm vim-create --name microstack --user admin --password keystone --auth_url https://192.168.191.132:5000/v3 --tenant admin --account_type openstack \<br>      --config=&#39;{security_groups: default,<br>                 keypair: microstack,<br>                 project_name: admin,<br>                 user_domain_name: default,<br>                 region_name: microstack,<br>                 insecure: True,<br>                 availability_zone: nova,<br>                 version: 3,<br>                 use_floating_ip: true}&#39;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*AFWhyVjYwLjuPIDh.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*cDo-Vx7yVBtrCe3m.png" /></figure><h3>5. Deploying a Network Service (NS) and a Virtual Network Function (VNF)</h3><p>A Network Service is a composition of Network Functions that defines an end-to-end functional and behavioral specification. Consequently, a network service can be viewed architecturally as a forwarding graph of Network Functions (NFs) interconnected by supporting network infrastructure.</p><p>While a VNF commonly refers to the software form of network appliances such as a router, firewall, load balancer, etc. VNFs are mostly deployed as virtual machines (VMs) on Linux KVM or VMware vSphere hypervisors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/0*BghFpcVidjqSZ-PA.png" /><figcaption><a href="https://docs.oasis-open.org/tosca/tosca-nfv/v1.0/csd01/tosca-nfv-v1.0-csd01.html">Source</a></figcaption></figure><p>So, to deploy a NS and a VNF, I download packages provided by Open Source MANO</p><pre>wget http://osm-download.etsi.org/ftp/osm-5.0-five/6th-hackfest/packages/hackfest_basic_vnf.tar.gz<br>wget http://osm-download.etsi.org/ftp/osm-5.0-five/6th-hackfest/packages/hackfest_basic_ns.tar.gz<br>wget https://osm-download.etsi.org/ftp/Hackfests/OSM_Training_SLICES_Feb2024/hackfest_basic_metrics_vnf.tar.gz<br>wget https://osm-download.etsi.org/ftp/Hackfests/OSM_Training_SLICES_Feb2024/hackfest_basic_metrics_ns.tar.gz</pre><p>Once downloaded, I run the commands below to upload those packages into OSM :</p><pre>osmclient.osm nfpkg-create hackfest_basic_vnf.tar.gz<br>osmclient.osm nspkg-create hackfest_basic_ns.tar.gz<br>osmclient.osm nfpkg-create hackfest_basic_metrics_vnf.tar.gz<br>osmclient.osm nspkg-create hackfest_basic_metrics_ns.tar.gz</pre><p>After uploading packages, I check :</p><pre>osmclient.osm vnfpkg-list<br>osmclient.osm nspkg-list</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*QQc7LrAlmJK9cUfu.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*vyzDCPCpQZomUfop.png" /></figure><h3>6. Instantiating a NS</h3><p>To instantiate a NS consists of creating an instance from the NS by running the command :</p><pre>osmclient.osm ns-create --ns_name ns_instance --nsd_name hackfest_basic-ns --vim_account microstack<br>osmclient.osm ns-list<br>osmclient.osm vnf-list</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*QZRVdLIh4u_2wBrc.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*GbGeAf9lv2V-Qdf_.png" /></figure><h3>7. Checking on VIM</h3><p>To check that the NS instance has been created into the VIM, I run the command :</p><pre>microstack.openstack server list<br>microstack.openstack server show &lt;server_name&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*8eUgx-GCo08DIj1p.png" /></figure><p>A flavor has also been created <em>hackfest_basic-VM-vnf-1-flv</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*jNbK5dHm6t9JWYka.png" /></figure><p>And the instance created is using as image the one I created at the beginning, Ubuntu20.04.</p><p>A floating IP is also created and assigned to the instance created according to the configuration parameters provided while adding the VIM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*A6V6OghMoCc2NUMA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*neKz-I-RXwhA2Qmy.png" /></figure><p>At the Network Topology tab of OpenStack, I have my NS instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*8cFfEXaswZwyaa-R.png" /></figure><p>At the end, here is the dasboard</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*QgvLuhTrWx8xAhPm.png" /></figure><p>For the observability, there are Grafana and Prometheus that are installed during the OSM installation.</p><p>Grafana</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*GoVr2P91er5RlCEM.png" /></figure><p>Prometheus</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*W4ybXveHW-Wf1rKq.png" /></figure><p><a href="https://osm.etsi.org/docs/user-guide/latest/01-quickstart.html">https://osm.etsi.org/docs/user-guide/latest/01-quickstart.html</a></p><p><a href="https://opendev.org/x/microstack?source=post_page-----4ea080bffdf0---------------------------------------">microstack</a></p><p><a href="https://opendev.org/x/microstack?source=post_page-----4ea080bffdf0---------------------------------------">microstack — OpenStack in a snap!</a></p><p><a href="https://opendev.org/x/microstack?source=post_page-----4ea080bffdf0---------------------------------------">opendev.org</a></p><p><a href="https://www.a10networks.com/glossary/what-is-nfv-network-functions-virtualization-vnf-virtualized-network-functions/?source=post_page-----4ea080bffdf0---------------------------------------">Network Functions Virtualization (NFV) &amp; Virtualized Network Functions (VNF) | A10 Networks</a></p><p><a href="https://www.a10networks.com/glossary/what-is-nfv-network-functions-virtualization-vnf-virtualized-network-functions/?source=post_page-----4ea080bffdf0---------------------------------------">Network Functions Virtualization was conceived to leverage virtualization technology to classes of network nodes in…</a></p><p><a href="https://www.a10networks.com/glossary/what-is-nfv-network-functions-virtualization-vnf-virtualized-network-functions/?source=post_page-----4ea080bffdf0---------------------------------------">www.a10networks.com</a></p><p><a href="https://ubuntu.com/blog/k8s-native-microstack">A brief history of MicroStack | Ubuntu</a></p><p><a href="https://docs.oasis-open.org/tosca/tosca-nfv/v1.0/csd03/tosca-nfv-v1.0-csd03.html?source=post_page-----4ea080bffdf0---------------------------------------">TOSCA Simple Profile for Network Functions Virtualization (NFV) Version 1.0</a></p><p><a href="https://docs.oasis-open.org/tosca/tosca-nfv/v1.0/csd03/tosca-nfv-v1.0-csd03.html?source=post_page-----4ea080bffdf0---------------------------------------">Committee Specification Draft 03 17 March 2016 Specification URIs This version…</a></p><p><a href="https://docs.oasis-open.org/tosca/tosca-nfv/v1.0/csd03/tosca-nfv-v1.0-csd03.html?source=post_page-----4ea080bffdf0---------------------------------------">docs.oasis-open.org</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=12d60c5d7166" width="1" height="1" alt=""><hr><p><a href="https://awstip.com/nfv-and-openstack-deployment-of-osm-open-source-mano-12d60c5d7166">NFV AND OPENSTACK : DEPLOYMENT OF OSM (Open Source MANO)</a> was originally published in <a href="https://awstip.com/">AWS Tip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deployment of Red Hat OpenShift on Ubuntu VM]]></title>
            <link>https://awstip.com/deployment-of-redhat-openshift-on-ubuntu-vm-8063bcfec123?source=rss-57cc590768a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/8063bcfec123</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[red-hat-openshift]]></category>
            <category><![CDATA[openshift]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Hermann PRISO]]></dc:creator>
            <pubDate>Tue, 27 May 2025 14:07:30 GMT</pubDate>
            <atom:updated>2025-05-28T16:28:16.182Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*2QpxMu-nZTnI-iUyo6wRMA.png" /><figcaption><a href="https://seekvectorlogo.com/wp-content/uploads/2018/12/red-hat-openshift-vector-logo.png">Source</a></figcaption></figure><p><a href="https://www.redhat.com/en/technologies/cloud-computing/openshift">Red Hat OpenShift</a> is a platform that helps you develop, modernize, and deploy applications at scale.</p><p>This guide is for those who want to use Red Hat OpenShift for development and testing purposes.</p><ol><li><strong>Installation of Ubuntu VM using Vagrant</strong></li></ol><p>I assume I have already installed Vagrant on my Windows PC.</p><p>I open HashiCorp Cloud portal where the boxes of Vagrant are and I filtered on <em>Ubuntu</em> and I select <em>ubuntu/focal64</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ah4Hm94drM9KRe8EhSp_1Q.png" /></figure><p>I open the Vagrant directory on the CMD my PC and I run the commands provided on HashiCorp Cloud portal</p><pre># Create a Vagrantfile and initiate the box<br>vagrant init ubuntu/focal64 --box-version 20240821.0.1<br><br># Bring up the VM<br>vagrant up<br># After this command, the VM is in running state on VirtualBox<br><br># SSH connection to that VM<br>vagrant ssh<br><br># To delete the VM<br>vagrant destroy</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hfjKRduExf90RojnDCaXlA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N6PJkfNAkrJ8_K6NJ2fl6Q.png" /></figure><p>The VM should have the following requirements : Disk 80 Gb, RAM 16 Gb, CPU 4.</p><p><em>You may need to upgrade your operating system, depending on the version of OpenShift you’re installing.</em></p><p><strong>2. Installation of Red Hat OpenShift</strong></p><p>I run the following commands to install OpenShift :</p><pre>wget https://developers.redhat.com/content-gateway/file/pub/openshift-v4/clients/crc/2.49.0/crc-linux-amd64.tar.xz<br>tar -xvf crc-linux-amd64.tar.xz<br>cd crc-linux-2.49.0-amd64<br>sudo cp crc /usr/local/bin<br>crc setup<br>crc start<br>crc status</pre><p>crc setup</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2AekCxDW_4VrV4Mgbfkkdg.png" /></figure><p>Before executing the <em>crc start</em> command, a pull secret will be required for the next step. So, to download it, I need to create an account in Red Hat <a href="https://console.redhat.com/openshift/create/local">site</a>. Then, go to <em>Cluster Management Dashboard &gt; Create Cluster &gt; Local &gt; Download pull secret</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DtbDeDwqr0egLB12FBmgig.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f0vIkPFhe4kb6jlzbyY8IA.png" /></figure><p>Once the pull secret copied, I run the crc start command and I paste it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aTD0KqkufayffwLpBIGqOQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UEv6CB1LvuUuR7dTcnFlnw.png" /></figure><p>I check the status after the starting</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mPJd9-Padqou26ha4Bnsug.png" /></figure><p>And I access the server web console by opening the link : <a href="https://console-openshift-console.apps-crc.testing/"><em>https://console-openshift-console.apps-crc.testing</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TwA_HXKkcKnQrAbNoO97tQ.png" /></figure><p>I enter the administrator credentials provided below the web console link</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h24PTJebTVfX9JPEAWdZlg.png" /></figure><p>To use the oc command, I run the following commands giving with the credentials of the web console :</p><pre>eval $(crc oc-env)<br>oc login -u kubeadmin https://api.crc.testing:6443<br>oc projects</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kCcW_TXW9dgkmc6Rb19CPQ.png" /></figure><p>To work with OpenShift from my terminal, I click on the Help icon &gt; CLI tools and I download the oc corresponding to my OS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QfT9HX-TD0WYily34R9PZw.png" /></figure><p>For remote connection, I run the command :</p><pre>crc console --credentials</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VUKIBu25AR47N5AVAyJAuw.png" /></figure><p>Or, I click on the username &gt; Copy login command</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ki21Fv-J-radBSJglwV_8Q.png" /></figure><p>A new window is then opened on my browser. I enter credentials</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tHPW0v0183vHAArwrpiikQ.png" /></figure><p>I click on Display Token</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yqKrXuj5uam--AjPHBiFWw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KKP9xc9ANp4t3dp-fWkUVg.png" /></figure><p><strong>3. Using OpenShift</strong></p><p>I run the commands :</p><pre># To create a project<br>oc new-project project1<br><br># To get the status of project<br>oc get project project1<br><br># To describe a project<br>oc describe project project1<br><br># To create a pod<br>oc run nginx1 --image=nginx<br><br># SSH to the pod<br>oc rsh nginx1<br><br># To get the status of pod<br>oc get pods</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*al_GNa5haQmpztajZrjwqQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6oqKHselj_vwzgYxO2X1LQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uMuicEfKKBJSxGurmyURKw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Cml86JdeeA2HBQhWcW-38w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TCWZrm0Ty8qFfEUgB8-QRg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8063bcfec123" width="1" height="1" alt=""><hr><p><a href="https://awstip.com/deployment-of-redhat-openshift-on-ubuntu-vm-8063bcfec123">Deployment of Red Hat OpenShift on Ubuntu VM</a> was originally published in <a href="https://awstip.com/">AWS Tip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rearchitect a Docker Image From ARM64 To AMD64]]></title>
            <link>https://awstip.com/rearchitect-a-docker-image-from-arm64-to-amd64-0f3167ebc8dd?source=rss-57cc590768a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/0f3167ebc8dd</guid>
            <category><![CDATA[docker-build]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[buildx]]></category>
            <category><![CDATA[docker-image]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Hermann PRISO]]></dc:creator>
            <pubDate>Sun, 13 Oct 2024 08:30:22 GMT</pubDate>
            <atom:updated>2025-05-26T15:52:02.174Z</atom:updated>
            <content:encoded><![CDATA[<ul><li>I start by listing all builder instances</li></ul><blockquote>docker buildx ls</blockquote><ul><li>I create make a new builder instance (for my case I added linux/amd64)</li></ul><blockquote>docker buildx create — name amd64 — platform <strong>linux/amd64</strong>,linux/arm64,linux/arm/v7,linux/arm/v6</blockquote><ul><li>I ensure that the builder is running before getting information about it</li></ul><blockquote>docker buildx inspect amd64 — bootstrap</blockquote><ul><li>I switch the current builder instance</li></ul><blockquote>docker buildx use amd64</blockquote><ul><li>I start building image using BuildKit and outputting the image in docker images command</li></ul><blockquote>docker buildx build — platform=”linux/amd64&quot; -t herpriz/oci-final-project-registration-employees-app:latest . -o type=docker</blockquote><ul><li>I run <em>docker images</em> command</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tckqQ1ESBVPPD77R2DLzqg.png" /></figure><ul><li>And I push the image into my Docker Hub repo</li></ul><blockquote>docker login</blockquote><blockquote>docker push herpriz/oci-final-project-registration-employees-app:latest</blockquote><ul><li>Docker Hub</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lWvpawsZYVvj5w2ejKAF5w.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0f3167ebc8dd" width="1" height="1" alt=""><hr><p><a href="https://awstip.com/rearchitect-a-docker-image-from-arm64-to-amd64-0f3167ebc8dd">Rearchitect a Docker Image From ARM64 To AMD64</a> was originally published in <a href="https://awstip.com/">AWS Tip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deployment of a Web Application to automate talent onboarding using HTML / CSS / JS / BS…]]></title>
            <link>https://awstip.com/deployment-of-a-web-application-to-automate-talent-onboarding-using-html-css-js-bs-f1c0358a2086?source=rss-57cc590768a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1c0358a2086</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[cloud-storage]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[cloud-functions]]></category>
            <dc:creator><![CDATA[Hermann PRISO]]></dc:creator>
            <pubDate>Sat, 12 Oct 2024 07:55:48 GMT</pubDate>
            <atom:updated>2024-10-14T17:19:54.763Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>Deployment of a Web Application to automate talent onboarding using HTML / CSS / JS / BS (Front-end) + Python Flask (Back-end) with Cloud Storage and Cloud Functions 100% Serverless</em></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZsGVixYcWhM0u7kH.png" /></figure><p><em>Project description</em> :</p><p>In this project based on a real-world scenario, I acted as a Cloud Expert in the deployment of a Web Application to automate the HR onboarding process. By filling out a form, the user is created in the Training Portal in a fully automated way.</p><p>To deploy this solution, I used a Moodle image available on GCP Marketplace, where the REST API had been enabled, running on Compute Engine, front-end on Cloud Storage, and the back-end on Cloud Run.</p><p>I deployed the back-end using Python Flask using Cloud Functions, 100% Serverless. Then, I deployed the front-end using HTML/CSS/JS/BS on Cloud Storage to store the static files of the Web Application.</p><p><em>Project architecture</em> :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*u_1SFg7Lx4ALkse_.png" /></figure><p><em>Implementation</em> :</p><ul><li>I open <em>Moodle</em> &gt; <em>Site Administration</em> &gt; <em>Server</em> &gt; <em>Web services</em> &gt; I click on <em>Enable web services</em> &gt; I enable web services and I save changes.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C4kctKZQDrdSArfnu0FGow.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vbkKBO1J-p-UyotGyyUBsw.png" /></figure><ul><li>I click on <em>Enable protocols</em>, at the Web services page, to enable <em>REST protocol</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R8LtQBkRto3xO9HFiUAFBw.png" /></figure><ul><li>At the Web services page, I click on <em>Select a service</em> to add an external service named <em>webservice </em>and I click on<em> Add service</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MRKoPh2exAtChJdcTCibpA.png" /></figure><ul><li>At the Web services page, I click on <em>Add functions</em> and I add a function : <em>core_user_create_users:Create users </em>and I click on<em> Add functions</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LqkXZyn9PomMqQckhV6V7A.png" /></figure><ul><li>I move from <em>not authorised users</em> to <em>authorised users</em> the Admin User which is my e-mail address at the <em>Create a specific user</em> page.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G2P6EmEiM3xrd3FzIHiB6g.png" /></figure><ul><li>At the Web services page, I click on <em>Manage tokens</em> and I click on <em>Create token</em>. I select the created user and service and I save changes.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UubZnHgz4yK6xG9i1GhVaA.png" /></figure><ul><li>I create a new user, <em>Moodle Test1</em>, at <em>Site Administration</em> &gt; <em>Users</em> page.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*53xfc2ldtGc70YbWJToazg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sbwrtG3obhLI5u2XuoygoA.png" /></figure><ul><li>I open GCP Console &gt; Cloud Functions and I create a function, <em>moodleUserCreate</em>.</li></ul><p>I fill the Configuration part of my function as follow :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ayBLady-HJarB0h4xYA71w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dVD_n1peeYyiPstd2f5uwQ.png" /></figure><p>And the Code part, I add 2 files : the <em>main.py</em> and <em>requirements.txt</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PVN7s9NWhJKOtP0M7n8I8g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bVw__X5OBnW5qXu6W8Vzcg.png" /></figure><p>My function is now created</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VFqzSITeuL0HeUGRtzkQHg.png" /></figure><ul><li>I create a new user by CLI</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9wP32paBrm5RE-fI-PRM_A.png" /></figure><ul><li>I explore logs on GCP Console, I have a the result of the new user creation</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rMHA5T_fDHgEB_bYy_vlXg.png" /></figure><ul><li>I refresh the Moodle users page and the created user is present.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zEJwaK4ALbyrLbVMneqXTA.png" /></figure><ul><li>I create a bucket, <em>tcb-gl-onb-hp</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7SzBQWdGVWhwCbZyUBhkwg.png" /></figure><ul><li>I copy the front-end files from the current repository to the bucket</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hXZX-vSRxK6SwpprYurnFQ.png" /></figure><ul><li>I set the bucket as a website</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z7T1LJyE64M1wJscDsdw3A.png" /></figure><ul><li>And, I make it public</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*63rd0yOofJ7-qKgW0uYg9A.png" /></figure><ul><li>My bucket is now public on Internet</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9-4oR3CdBfIcAi7nMHWR6Q.png" /></figure><ul><li>I open the Public URL of the bucket</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xUg4Y9LJrGhz9CAF2iy2nA.png" /></figure><ul><li>I fill the form in order to add a new employee and I click on <em>Sent</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nYxsga91yqIFMMt5DA4HIw.png" /></figure><ul><li>When I refresh once again the Moodle Users page, The new employee appears in the list automatically</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TH0_vZb1bwGvQc98YBU6WQ.png" /></figure><ul><li>In the function logs, the result for the new user appears too.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Vs2Sb2ynQ3S79i-dkoPhA.png" /></figure><p><a href="https://docs.moodle.org/405/en/Using_web_services">https://docs.moodle.org/405/en/Using_web_services</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1c0358a2086" width="1" height="1" alt=""><hr><p><a href="https://awstip.com/deployment-of-a-web-application-to-automate-talent-onboarding-using-html-css-js-bs-f1c0358a2086">Deployment of a Web Application to automate talent onboarding using HTML / CSS / JS / BS…</a> was originally published in <a href="https://awstip.com/">AWS Tip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deployment of Corporate Training Portal on Google Cloud Platform using Deployment Manager, Google…]]></title>
            <link>https://medium.com/@hermann.priso/deployment-of-corporate-training-portal-on-google-cloud-platform-using-deployment-manager-google-c9b661a5696c?source=rss-57cc590768a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9b661a5696c</guid>
            <category><![CDATA[moodle]]></category>
            <category><![CDATA[cloud-storage]]></category>
            <category><![CDATA[gcp]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Hermann PRISO]]></dc:creator>
            <pubDate>Mon, 07 Oct 2024 22:08:36 GMT</pubDate>
            <atom:updated>2024-10-08T17:52:40.436Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>Deployment of Corporate Training Portal on Google Cloud Platform using Deployment Manager, Google Compute Engine &amp; Cloud Storage — Part 1</em></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3QC4Nr79847hoi39.png" /></figure><p><strong>Project description</strong> :</p><p>In another real-world based project, I acted as a Cloud Specialist to implement a corporate training portal for employees. Moodle was the platform chosen to provide the training, and it’s one of the most popular e-Learning platforms among companies and universities around the world.</p><p>We used the Deployment Manager and a Moodle image, available on GCP Marketplace, using the resources of a Compute Engine.</p><p>To store the training files, in order to comply with high availability (HA) issues, we used the Cloud Storage bucket service.</p><p><strong>Project architecture</strong> :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ES4MaFoE-3UQyruD.png" /></figure><p><strong>Implementation</strong> :</p><ul><li>I activate the Cloud Deployment Manager V2 API</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t8uiBbRVbRhA3DP4jJ6M2A.png" /></figure><ul><li>On <em>Deployment Manager</em> page, I click on <em>Deploy Marketplace solution </em>and<em> </em>I search for <em>Moodle</em>.</li></ul><p>I select <em>Moodle (Google Click to Deploy — Virtual Machines)</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VRVwLM6fw4Rn8jFXW2EUrg.png" /></figure><ul><li>I click on <em>Launch</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*99YtQdy8JzblRIflYKK-eg.png" /></figure><ul><li>I accept informations and conditions</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tAa16xa_JOkzca_W1A3Gaw.png" /></figure><ul><li>For the deployment of Moodlme, I need the APIs below to be activated first.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xivpXJ4qvr838--_JpUWsg.png" /></figure><ul><li>Once done, I configure the deployment as follow and I click on <em>Deploy</em> :</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oCk9tiB-2ElJzvp7QDFTtg.png" /></figure><ul><li>Moodle is deployed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vrjCSfqrx0YIJK1eTSIKAA.png" /></figure><ul><li>I open the site address on a new tab</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RBcKEOwTeeCp0yvLod2BhA.png" /></figure><ul><li>I create a bucket (<em>tcb-moodle-hpr</em>) on Cloud Storage</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0V3ZMFHecN4AWFKU1tmNBQ.png" /></figure><ul><li>I uncheck <em>Enforce public access prevention on this bucket</em> and I check <em>Fine-grained </em>at the <em>Authorisations</em> tab of the bucket.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*59PNhS6yUUUVNNgcGGlCfw.png" /></figure><ul><li>I open the bucket and I upload 2 files (one PDF and one video file)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mv8Ia2h-lUvluCEbDEEPRw.png" /></figure><ul><li>As those files are non public, I change access to public for each file and I save.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pp9H_e3FgLcqCqILXv45aA.png" /></figure><ul><li>After that, my files have each a public URL.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SZGJgXviY9EEl2vaIShEcg.png" /></figure><ul><li>After opening the site address of Moodle, I click on <em>Log in</em>. I enter credentials that have been given at the end of the deployment.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OT6QFO7NzLY1bikQ0_l8Lg.png" /></figure><ul><li>I am in the Moodle dashboard</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_LdmDoCFmPZfFNcEYmfMLg.png" /></figure><ul><li>At the Moodle home page, I click on <em>Add a new course</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WD-QpjwS3oCeLS8bc97ROw.png" /></figure><ul><li>I fill the form as follow :</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mORVPQTPK98nKMCDtbALLw.png" /></figure><ul><li>The course is added.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q8IaK5WWjGo3LwDPt0b5Zg.png" /></figure><ul><li>At the <em>Site Administration</em> &gt; <em>Appearance</em> &gt; <em>Logos</em>, I upload an image file as logo and I save.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zHQrD2x-x9gj9YNKw-alsA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4aDxRQfD4faJojho_JRDZA.png" /></figure><ul><li>At the <em>site home</em> &gt; <em>Settings</em>, I change the full site name and the short name. I also add a summary and I save.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lwVCubARVqNHi9QDMqUg-A.png" /></figure><ul><li>I log out and I log in</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ev2GCEdHKp8gwS4Bv--BPw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*autC8GfQ-VcPDh-M7DxqEA.png" /></figure><ul><li>I turn on <em>Edit mode</em> at the site home.</li></ul><p>At the <em>General</em> section, I click on <em>Add an activity or resource</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1dwn2BtOLLRGG-DfSrTCiw.png" /></figure><ul><li>And <em>Page</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M4IJNo4PiO3u47yLibkOIw.png" /></figure><ul><li>At the <em>Content</em> section, I click on <em>insert an audio/video file</em>, I enter the public URL of the video that is in the bucket and I click on <em>Insert media</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B0bzt5Jw3NxuMP7mYHYiMw.png" /></figure><ul><li>At the bottom of the video, I insert a text <em>Download PDF </em>that I select and I create a link. I add the public URL of the PDF file that is located in the bucket and I clcick on <em>Update link</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yeEtwGqFjJRk8XHVUccVpA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N2yfN8qS9XUwhQn0L86CZQ.png" /></figure><ul><li>So my new page looks like this :</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rIuJt1K7BLsd8tIl18QZbQ.png" /></figure><ul><li>If I click on Download PDF, the PDF is opened in a new window.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6bOa6rEM_YSfGLzuW_VFEw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9b661a5696c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Converting an Excel Spreadsheet Into a Web Mobile-Responsive Application 100% Serverless, using…]]></title>
            <link>https://awstip.com/converting-an-excel-spreadsheet-into-a-web-mobile-responsive-application-100-serverless-using-08271b58d77e?source=rss-57cc590768a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/08271b58d77e</guid>
            <category><![CDATA[oracle-apex]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[oracle-autonomous-db]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <dc:creator><![CDATA[Hermann PRISO]]></dc:creator>
            <pubDate>Wed, 02 Oct 2024 20:47:55 GMT</pubDate>
            <atom:updated>2024-10-04T16:36:23.828Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Converting an Excel Spreadsheet Into a Web Mobile-Responsive Application 100% Serverless, using Oracle Autonomous Database (Data Tier) and Oracle Application Express (App Tier) Integrated with OCI E-Mail Delivery Service in less than 2 hours</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*F67ZIo-sf1Dtwex4.png" /></figure><p><strong>Project description</strong> :</p><p>In this project based on a real-world scenario, I acted as Cloud Architect to find a solution to the use of an Excel spreadsheet to control a Team Vacation Scheduling. To replace this spreadsheet, I designed and implemented an application using Oracle Application Express, Autonomous Database and OCI E-mail Service.</p><p><strong>Project architecture</strong> :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*c59cRxKUBo5yFvFE.png" /></figure><p><strong>Implementation</strong> :</p><ul><li>I create an Autonomous Database : <em>autonomousdb01</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YTrtmmztXfTiCEOfh5YzBw.png" /></figure><ul><li>I open the autonomous database created and I click on <em>Tool configuration</em> &gt; <em>Database actions</em>, I open the public access link on a new window.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QbiOsIinfT6RPL4WPrbaqw.png" /></figure><ul><li>I enter the login and password, then I click on <em>Connection</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tbRsggi6Rrsy0Fpvhn-rgQ.png" /></figure><ul><li>Inside the Database Actions, I click on <em>SQL.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-TBunmYPfEgwg5eWU372QQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t3XQExMNL9dhZLGelGdBqg.png" /></figure><ul><li>I create an user, <em>APP_VACATION</em>, I grant privileges to that user and grant unlimited quota ion DATA tablespace</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mQCg7ZxMADbtwpvD70V1sw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*quPRoQv8WcAjPCQrNazvPg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YcSFYr9C8jPU_8kz4Fkx7w.png" /></figure><ul><li>Inside the autonomous database, I open the <em>Oracle APEX</em> public access link.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4ZbUQkYKKz05kS5D7K84bg.png" /></figure><ul><li>I enter the password (the same used for the Database Actions) and I create on <em>Create Workspace</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_c20GG1_T7wVUx0XORl_bw.png" /></figure><ul><li>I click on <em>Existing Schema</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*XX9JUN0Z_2Shc1wyvAMMyw.png" /></figure><ul><li>Then, I fill as follow and I click on <em>Create Workspace</em> :</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*h89mTA6G92OEd_uOd_Qp2g.png" /></figure><ul><li>Here is the Oracle APEX workspace</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EgA0VdKMHnaMlPPFCXGYCw.png" /></figure><ul><li>As the workspace is created, I sign out of <em>Administration Services</em> and sign in to <em>APP_VACATION</em> to start building my application.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WAiCPMzHd2oAYI4rVYXFTQ.png" /></figure><ul><li>Once signed in, I click on <em>App Builder</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J2wRI9uZR01X8Erh3te5oQ.png" /></figure><ul><li>Then, <em>Create a New App</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w3HeZiYkjnLqKfYPXdEqbw.png" /></figure><ul><li><em>Create App From a File</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X5A9ngSWCro9PbpLs2V2GQ.png" /></figure><ul><li>I upload the file</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MGZNqbM5f30n4wUQnjfEPg.png" /></figure><ul><li>I perform the configuration below :</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0B3YAXTvN7Ilg_6EKESqXQ.png" /></figure><ul><li>And I click on <em>Load Data</em> &gt; <em>Create Application &gt; Create Application</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uFyTyxdoxSvw9Kn_O_97Mg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4trKg937UGKCymIwhT89ag.png" /></figure><ul><li>The application is created.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Py8jPK02939SKYh5qs1jeQ.png" /></figure><ul><li>In the <em>Administration</em> &gt; <em>Manage Users and Groups</em>, I create a new user : <em>HERMANN</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YJtVlJc64lE0x9XDIHe1CQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*srUPhZZ8HrMtqUPvHV2glQ.png" /></figure><ul><li>I run the application created and I sign in as hermann.</li></ul><p>I rename the application name, from <em>Application</em> to <em>Vacation Scheduling Control</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6IjYIAkPwLIxfLamgaBLLw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4jrvihqjHY050eoVmarLug.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oDxoRYZKwKCNdc1JJj6oQA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pVMlJoFekjuZEdLt5DRI2g.png" /></figure><ul><li>On the vacation search tab, I can perform a search.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zv7LRkua9jgXgxwBJ8yATA.png" /></figure><ul><li>On the Vacation Report, I can create a record. For example, for Camilla I create a row.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VJs5PZNDJEGj_jkt6g-8nQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s3-JOzRC2qIHDei6S80gAA.png" /></figure><ul><li>In the Calendar tab, I can the days off of Camilla</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AivCNt0NaRvw8pSKd1HOng.png" /></figure><ul><li>In the <em>Developer Services</em> of Oracle &gt; <em>Application Integration</em> &gt; <em>Email Delivery</em>, I create an <em>Approved Sender.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cXX_iqPrLm0azBGstlV2jQ.png" /></figure><ul><li>At the <em>Configuration</em> tab, I copy the <em>public endpoint</em> that I will use to send email.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6GtSpE1Uib-Y044MnIXQXw.png" /></figure><ul><li>On the <em>Identity &amp; Services</em>, I generate a <em>SMTP credentials</em> for the user Hermann by clicking on <em>Generate credentials</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WHUIasnChsuIGhIZxsfeUg.png" /></figure><ul><li>On the <em>Database Actions</em> &gt; <em>SQL</em> page, I run the following SQL commands :</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FL6bqvcQV3AjhmH6SPjS7Q.png" /></figure><ul><li>And on <em>Oracle APEX</em> &gt; <em>SQL Workshop</em> &gt; <em>SQL commands</em>, I run these commands below :</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*82XbZ8DxUHQt6NI7rurmqA.png" /></figure><ul><li>I receive a mail from Autonomous Database</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vLk6Li84ouVwMwYMQJ6Etw.png" /></figure><ul><li>On <em>Oracle APEX</em> page &gt; <em>App Builder &gt; I open the application &gt; page 4 — Vacation</em> &gt; <em>Page Designer</em> &gt; <em>Processing</em> &gt; Right-click on <em>Processes</em> and I click on <em>Create Process </em>and I fill as follow :</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s5eVadHa7Qac9OEUG46qwQ.png" /></figure><ul><li>The process <em>EMAIL_VACATION</em> is created and moved before <em>Close Dialog</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ryVTUZo5mUD1SWbSClQ0cw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mZJhBxtRgdAonXKIEl5Sxg.png" /></figure><ul><li>Now, I run the app and I create a record of vacation.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oFCLB645s-f5QQ9bYIvUkg.png" /></figure><ul><li>I automatically receive a mail.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i9O76nPUg2h60sKD3hHlew.png" /></figure><ul><li>The calendar is updated</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wmJ5RxFiLoASWsR1N4w5mQ.png" /></figure><ul><li>Also the vacation report</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HMcnb0pJCTYiYyxHJtP2pQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=08271b58d77e" width="1" height="1" alt=""><hr><p><a href="https://awstip.com/converting-an-excel-spreadsheet-into-a-web-mobile-responsive-application-100-serverless-using-08271b58d77e">Converting an Excel Spreadsheet Into a Web Mobile-Responsive Application 100% Serverless, using…</a> was originally published in <a href="https://awstip.com/">AWS Tip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deployment of a Web Video Backup Application integrated with OCI Python SDK to allow upload of…]]></title>
            <link>https://awstip.com/deployment-of-a-web-video-backup-application-integrated-with-oci-python-sdk-to-allow-upload-of-0c7dc5d19311?source=rss-57cc590768a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/0c7dc5d19311</guid>
            <category><![CDATA[storage]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Hermann PRISO]]></dc:creator>
            <pubDate>Sat, 28 Sep 2024 09:14:53 GMT</pubDate>
            <atom:updated>2024-09-30T07:16:15.911Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Deployment of a Web Video Backup Application integrated with OCI Python SDK to allow upload of videos in the Private Bucket (Object Storage), using Instance Principals (Dynamic Groups) for Authentication and Authorization of the API — Totally ”Keyless”.</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1fUxUnV9ShH_VnBm.png" /></figure><p><strong>Project description</strong> :</p><p>In this project based on a real-world scenario, I acted as Cloud Architect to deploy an application that allowed the Video Makers Team to upload backup video files to a Private Bucket in the OCI.</p><p><strong>Project architecture</strong> :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fgH8qPkgMGsmD58P.png" /></figure><p><strong>Implementation</strong> :</p><ul><li>I create a VCN, <em>tcb-mod5</em>, via <em>Virtual cloud networks</em> &gt; <em>Start VCN Wizard</em></li></ul><p>Select <em>Create VCN with Internet Connectivity &gt; Start VCN Wizard</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F4C3fzbNuJP7NDHZV6oF8g.png" /></figure><p>Configure as follow :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QYy0LTiHtfuyRmcEzsx4nA.png" /></figure><p>Review and create</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kux7sEDzuRImJjztgfSQtg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YP1fLkOiiFSYTgFRS1tWQg.png" /></figure><p>Created !</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aYiTuUaEEGU6RT82z_PqbA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jq6qKm9INHvFXj37UsRZ8A.png" /></figure><ul><li>I create an instance : <em>tcb-videobackup</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*09CAYKuMiC2QUzKvLJXgHg.png" /></figure><ul><li>I create a bucket : <em>tcbvideobackuphp</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XNOvCJvuLHX8__Y45w2JKQ.png" /></figure><ul><li>Inside the <em>Governance &amp; Administration</em> &gt; <em>Tenancy Management</em> &gt; <em>Tag Namespaces</em>, I create a Tag Namespace named <em>development</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4w-HfupvMzDhAk-vOC1-pQ.png" /></figure><ul><li>Inside the tag namespace created, I create a <em>tag key definition</em> named <em>application</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X9W8XmCaAs72sFyeCIdS2g.png" /></figure><ul><li>Inside the <em>Identity &amp; Security</em> &gt; <em>Domains</em> &gt; <em>Default Domain</em> &gt; <em>Dynamic Groups</em>, I create a dynamic group : <em>videobackup</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1t6eDYn_0Jn74rrFGPnGxg.png" /></figure><ul><li>I click on <em>Add tags</em> to add a tag as follow :</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C8q7CSsYYSVQBrwDVrxnoQ.png" /></figure><ul><li>I connect to my instance and I run commands to set up the firewall rules</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ov8ualgchWuPR8OEltbpeA.png" /></figure><ul><li>I run the below commands to deploy the application</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H5Ii9-z9fP1WO2rd-XTCrA.png" /></figure><ul><li>Now, I set up some variables</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*63gt6PFI-iIVl_KY0whWdQ.png" /></figure><ul><li>Then, I load the application</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pXhvcrROEeDlzlWp6NrFrw.png" /></figure><ul><li>Webpage</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IDD6KJGbDqz_sjmPNi8iuQ.png" /></figure><ul><li>I click on <em>BACKUP</em> to save a video file &gt; <em>TAKE BACKUP </em>after choosing the file</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OlkfMQb4QzK5pg9CMpAdqw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5yXfJ-gzTrhh93lptC9pjw.png" /></figure><ul><li>Finally, I open my bucket, the video file is there.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i2Gvg8HLL38lL4NSlCJ1lQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0c7dc5d19311" width="1" height="1" alt=""><hr><p><a href="https://awstip.com/deployment-of-a-web-video-backup-application-integrated-with-oci-python-sdk-to-allow-upload-of-0c7dc5d19311">Deployment of a Web Video Backup Application integrated with OCI Python SDK to allow upload of…</a> was originally published in <a href="https://awstip.com/">AWS Tip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Infrastructure As Code + Pipeline : Deployment of Network Resources and Compute in the OCI in a…]]></title>
            <link>https://awstip.com/infrastructure-as-code-pipeline-deployment-of-network-resources-and-compute-in-the-oci-in-a-fd531eb03ac0?source=rss-57cc590768a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd531eb03ac0</guid>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Hermann PRISO]]></dc:creator>
            <pubDate>Sat, 21 Sep 2024 08:47:45 GMT</pubDate>
            <atom:updated>2024-09-23T09:18:20.876Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Infrastructure As Code + Pipeline : Deployment of Network Resources and Compute in the OCI in a 100% automated way using GitHub, Terraform Cloud and Terraform IaC</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GeQlrfMLThBKsLQg.png" /></figure><p><strong>Project description</strong> :</p><p>A company specializing in luxury furniture sales needed to provision an infrastructure (Networking + Compute) in the OCI to host its website called <strong><em>Niture</em></strong>. As a prerequisite for this project, I had to use Infrastructure as Code (IaC).</p><p>The main tools used for this project were GitHub, Terraform Cloud and Terraform IaC.</p><p><strong>Project architecture</strong> :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zR9jJVJuEvZIts4z.png" /></figure><p><strong>Implementation</strong> :</p><ul><li>I create a GitHub private repo : <em>niture</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ind12WwmaB79vlD4AUm4xQ.png" /></figure><ul><li>Inside the <em>Identity &amp; Security</em> tab &gt; <em>Identity</em> &gt; <em>Users</em>, I create a user : <em>terraform user </em>that I assign to Administrators group.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fVatbj3glqYbwxX0Ahco2g.png" /></figure><ul><li>I click on <em>API keys</em> &gt; <em>Add API key</em>, I make sure <em>Generate API key pair</em> is selected and I click on <em>Download private key</em>. Then , <em>Add</em>.</li></ul><p>Once the API key is added, I click on the 3 points at the right to show the configuration file preview taht I copy and paste on Notepad.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7KyVgIXNWX2lpKcdVpYiBg.png" /></figure><ul><li>I create a gitignore file where I put the following lines :</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vOnRk4RhOc8-HN3SEZhiyw.png" /></figure><ul><li>I run the following git commands to push my terraform files into my GitHub private repo.</li></ul><blockquote>git init<br>git add -A<br>git commit -m “first commit”<br>git branch -M main<br>git remote add origin <a href="https://github.com/herpriz2/niture.git">https://github.com/herpriz2/niture.git</a><br>git push -u origin main</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ql1ychD50BqHFdUInraVDw.png" /></figure><ul><li>I check on GitHub, files have been pushed correctly.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bXI69keTPiN6lkGTcGUiaw.png" /></figure><ul><li>I create a new Terraform organization : <em>tf-org-hp</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UmAXEh3RnPP3HbZePfL_4A.png" /></figure><ul><li>I create a new workspace inside the organization</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-wJa3FeehOaYLL33I-11FA.png" /></figure><p>I select <em>Version Control Workflow</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YSnHCk-44h6BZzGqibnPFw.png" /></figure><p>I connect to VCS by selecting <em>GitHub</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pzoqxh9kLkihuUSPqXRevw.png" /></figure><p>I install Terraform Cloud and I select where I want to install it. In my case, <em>herpriz2</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*6tPS_SoYCRrShS95KflZKA.png" /></figure><p>I select the repo of the installation :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*yStFyljJxsYkP9I_WT1bOA.png" /></figure><p>I confirm access</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*bi8bzxWN4Uom-73-kR06Xw.png" /></figure><p>I choose a repo. In this case, <em>niture</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p24P4d0wZy6DJQhB9d89Tg.png" /></figure><p>I configure settings as workspace name…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gQZ3BHVn9yK7LYUHJgSvwg.png" /></figure><p>I also configure the Terraform variables that I copy from the Configuration file preview below :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1yyrvKDOdZMdDs1iojgK0A.png" /></figure><p>For the SSH public key, I generated a key</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kA_BY6CJ8OIZjgUdCL58dA.png" /></figure><ul><li>Now that the workspace is created, I click on <em>Start new plan &gt; Start</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YDFQ_b2uHcFNtupVA3AmJw.png" /></figure><p>Plan</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*65IeEvVaWPg8ZgytjxONJg.png" /></figure><p>Apply</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sxSFXicHTGhmfMHTxhrYhw.png" /></figure><p>I click on <em>Confirm &amp; apply</em> &gt; I <em>add a comment</em> &gt; <em>Confirm plan.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_scTKCA8HHjjego394_svQ.png" /></figure><p>Applied</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FBDVngzFFIMgyxlrkAGkgw.png" /></figure><ul><li>I check on Oracle Cloud console instances and VCN, they have been created.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LUAlk2WpampkXtbVyEP7Ng.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v9DNa7ZFOP1wWkis_9zMmQ.png" /></figure><ul><li>I connect to the instance created via SSH and I install Apache and I add some firewall rules. then, I load the website files.</li><li>In my main.tf file, I add a second webserver and I push the file into my GitHub repo</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HoFOdwDR3eXOc_PQVxqxYw.png" /></figure><p>The update is committed on GitHub</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6Rj4OACSYheav82UI8MVPA.png" /></figure><p>The new commit is automatically present in Terraform, already planned and ready to be applied.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Uol9yrOQvl2gt0HgByHnow.png" /></figure><p>I click on <em>See details</em>, I <em>Confirm &amp; apply</em> &gt; I <em>add a comment</em> &gt; <em>Confirm plan.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ArzpI8-JOKzHqgXUUPMRvw.png" /></figure><p>I check instances on Oracle Cloud console</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2_jcEDSQbNzMFbw80qJuhg.png" /></figure><ul><li>I perform the same operations by removing the webserver2.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h5yCI7FgiT25H6EqK_GiXw.png" /></figure><p>GitHub</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i8QtgRtW1FTGdeAv684VUw.png" /></figure><p>Terraform</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gZwaINWKoxpVI0Ik3j9pmw.png" /></figure><p><em>Confirm &amp; apply</em> &gt; I <em>add a comment</em> &gt; <em>Confirm plan</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OXy3sSdsUuWxjl_FgAajKQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y5iQ9mdDYZNyLIIlfxhNgQ.png" /></figure><p>OCI console</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m2aiGSBp6Qhl6ULbN2LnhA.png" /></figure><ul><li>I open the webserver1 public IP address on my browser.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*scXnSsR-Tum_f8BopDok7w.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd531eb03ac0" width="1" height="1" alt=""><hr><p><a href="https://awstip.com/infrastructure-as-code-pipeline-deployment-of-network-resources-and-compute-in-the-oci-in-a-fd531eb03ac0">Infrastructure As Code + Pipeline : Deployment of Network Resources and Compute in the OCI in a…</a> was originally published in <a href="https://awstip.com/">AWS Tip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deployment Of Network Communication Control In Oracle Cloud Infrastructure With Virtual Cloud…]]></title>
            <link>https://awstip.com/deployment-of-network-communication-control-in-oracle-cloud-infrastructure-with-virtual-cloud-4d7e2afd4f4a?source=rss-57cc590768a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/4d7e2afd4f4a</guid>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[git-bash]]></category>
            <dc:creator><![CDATA[Hermann PRISO]]></dc:creator>
            <pubDate>Sat, 14 Sep 2024 10:40:55 GMT</pubDate>
            <atom:updated>2024-09-17T18:44:53.703Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Deployment Of Network Communication Control In Oracle Cloud Infrastructure With Virtual Cloud Network (VCN), Distinct Subnets And Security Lists With Specific Rules For each Subnet</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1pPUSsJOeXWMp7eC.png" /></figure><p><strong>Project description :</strong></p><p>For this Networking Mission, I had to deploy a Global Financing Portal application in the Finance subnet, and then allow people from other departments, like Sales, to access it when they needed.</p><p><strong>Project architecture :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4Ul27byvAeZi7AIW.png" /></figure><p><strong>Implementation :</strong></p><ul><li>I create a Virtual Cloud Network, <em>vcn-mod3</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dta1JcjLc1Mu8QplbI00iw.png" /></figure><ul><li>I create 2 subnets : <em>finance-subnet</em> and <em>sales-subnet</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Em4XhumE30Cd47CbeV0aJw.png" /></figure><ul><li>I create security lists : <em>sl-sales</em> and <em>sl-finance</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9VFsGgxbzq-veCavF5Nz2g.png" /></figure><p>Inside the security lists, I have ingress and egress rules.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IFoJ1G3sQ91z6rw8MRfqQw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*noAUzR0jR9cU1G20sJM91A.png" /></figure><ul><li>I add the security list to the subnet</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jEm7SWc4_CqawoS83S7Phg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FPPOW-BvgQjv-gin3IrwJQ.png" /></figure><ul><li>I create an internet gateway</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9vqj4eAfDUbvM2tBNy1BHw.png" /></figure><ul><li>And, I add a route rule to the default route table</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*slaOYfFvvS_KyrPWBsalKA.png" /></figure><ul><li>I create 2 instances : <em>finance-vm</em> and <em>sales vm</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nhuzR4-P7f8r-L6K_QzJyA.png" /></figure><ul><li>I connect to the finance-vm via SSH on Git Bash</li></ul><blockquote>ssh opc@public-ip-of-the-VM -i ssh-key.key</blockquote><p>and I run the following commands :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*5FdqsSZhUhcBgA_Ni-QiSw.png" /></figure><ul><li>I also connect to the sales-vm and I run the following commands :</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*1GpjH-wT8m3A9aTo3kZRBg.png" /></figure><ul><li>I configure the VNC server by running the commands below :</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/837/1*sbl1srZxb6Y-qjWyN9I_qg.png" /></figure><p>On the vi command, I change the user name and I select N for the view-only.</p><ul><li>I set up and load the VNC server by running the commands below :</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/838/1*mymD9reC1h3emHl866MeAQ.png" /></figure><ul><li>I create a SSH tunnel between my PC through VNC server and the sales-vm</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/1*Q_Pw6ghrs1pqxb8zK4a9TA.png" /></figure><ul><li>I access the sales VM via VNC</li></ul><p>I download, install and open VNC server on my PC.</p><p>I enter the <em>localhost:5901</em> on the search bar to open a session.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*6bx__yL4HK8pPV0_bxknHw.png" /></figure><p>Then, I click on <em>Continue. </em>I have the welcome page</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZnDnV-58BEvlsoITdAYkkw.png" /></figure><p>I do all the configuration and I select my instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bVV8oyWFoonnn1ChWgu0yw.png" /></figure><p>Inside the sales VM, I open the navigator and I enter the private IP address of the finance VM. I have the main page of the finance website.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6NjtrbH37HRSwOvUY3QgHQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4d7e2afd4f4a" width="1" height="1" alt=""><hr><p><a href="https://awstip.com/deployment-of-network-communication-control-in-oracle-cloud-infrastructure-with-virtual-cloud-4d7e2afd4f4a">Deployment Of Network Communication Control In Oracle Cloud Infrastructure With Virtual Cloud…</a> was originally published in <a href="https://awstip.com/">AWS Tip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying Users, Groups And Policies In A 100% Automated Way Using Ansible And Cloud Shell]]></title>
            <link>https://awstip.com/deploying-users-groups-and-policies-in-a-100-automated-way-using-ansible-and-cloud-shell-49919a56180f?source=rss-57cc590768a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/49919a56180f</guid>
            <category><![CDATA[ansible]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[identity-management]]></category>
            <dc:creator><![CDATA[Hermann PRISO]]></dc:creator>
            <pubDate>Wed, 11 Sep 2024 21:22:00 GMT</pubDate>
            <atom:updated>2024-09-13T16:01:22.370Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eIZZ_wiq8WbZ5cVu.png" /></figure><p><strong>Project description</strong> :</p><p>In this project based on a real-world scenario, I acted as Cloud Specialist with the mission to create Users, Groups and Policies in the Oracle Cloud Infrastructure. It seemed an easy task to perform using the OCI console. However, it’s not a viable solution when it comes to large scale cases.</p><p>So, the goal was to create resources in an automated way using Ansible.</p><p><strong>Project architecture</strong> :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*o8iv4VjWdbahdFkM.png" /></figure><p><strong>Implementation</strong> :</p><ul><li>I manually create 3 compartments inside the <em>Identity &amp; Security &gt; Compartments</em> : networkingResources, computeResources and databaseResources.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QTXlLl01-R3JYgoehimneQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*G6qo1r1xvOPeNBzksqqcaw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iewm6khqOCmCu7Iq6STK1A.png" /></figure><ul><li>After the creation of compartments, I set up environment variables</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4GFEYbjNzuYatcm5FPhjag.png" /></figure><ul><li>I prepare yaml files for creation of :</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*339S4_u0wm1b9oqR-8jkeg.png" /></figure><p>Groups and policies</p><pre>      # Creating ComputeAdmin group<br>      - name: Creating a group to manager Compute resources<br>        oci_identity_group:<br>          name: &quot;{{ compute_group_name }}&quot;<br>          compartment_id: &quot;{{ parent_compartment_ocid }}&quot;<br>          description: &quot;Group allowed to manage Compute resources in the compartment computeResources&quot;<br>        register: result<br>      - set_fact:<br>          compute_group_ocid: &quot;{{ result.group.id }}&quot;<br><br>      # Creating ComputeAdminPolicy<br>      - name: Policy assignment for ComputeAdmin group<br>        oci_identity_policy:<br>          name: &quot;ComputeAdminPolicy&quot;<br>          compartment_id: &quot;{{ parent_compartment_ocid }}&quot;<br>          description: &quot;Permission to manage Compute resources&quot;<br>          statements: [&quot;Allow group {{ compute_group_name }} to manage instance-family in compartment id {{ compute_compartment_ocid }}&quot;]<br>        register: result<br>      - set_fact:<br>          compute_policy_ocid: &quot;{{ result.policy.id }}&quot;</pre><p>Users</p><pre>---<br>    <br>- name: Creating user<br>  oci_identity_user:<br>    name: &quot;{{ item }}&quot;<br>    description: &quot;Member of {{ group_name }}&quot;<br>    compartment_id: &quot;{{ parent_compartment_ocid }}&quot;<br>    email: &quot;{{ item }}{{ domain }}&quot;<br>  register: creatinguser<br>- set_fact:<br>    user_ocid: &quot;{{ creatinguser.user[&#39;id&#39;] }}&quot;<br>- debug:<br>    msg: &quot;User {{ item }} created&quot;<br>  when: creatinguser.changed<br><br>- name: Adding user to a group<br>  oci_identity_user_group_membership:<br>    user_id: &quot;{{ user_ocid }}&quot;<br>    group_id: &quot;{{ group_ocid }}&quot;<br>    compartment_id: &quot;{{ parent_compartment_ocid }}&quot;<br>  register: result<br>- set_fact:<br>    user_group_membership_ocid: &quot;{{ result.user_group_membership[&#39;id&#39;] }}&quot;</pre><p>CloudAdmin, DBAdmin, NetworkAdmin, ComputeAdmin and Operators users</p><pre>---<br><br>- name: Creating Compute Admin in the OCI<br>  hosts: localhost<br>  collections:<br>    - oracle.oci<br>  vars:<br>    parent_compartment_ocid: &quot;{{ lookup(&#39;env&#39;, &#39;PARENT_COMPARTMENT_OCID&#39;) }}&quot;<br>    group_name: &quot;ComputeAdmin&quot;<br>    domain: &quot;@thecloudbootcamp.com&quot;<br>    users:<br>      - denny.smith<br>      - juan.francisco<br><br>  tasks:<br>   - name: Validating prerequisites<br>     fail:<br>       msg: &quot;Variable {{item}} not defined. Please, fix it!&quot;<br>     when: item not in ansible_env<br>     with_items:<br>       - &quot;PARENT_COMPARTMENT_OCID&quot;<br>   <br>   - name: Getting Group ID<br>     oci_identity_group_facts:<br>       name: &quot;{{ group_name }}&quot;<br>       compartment_id: &quot;{{ parent_compartment_ocid }}&quot;<br>     register: result <br>   - set_fact: <br>       group_ocid: &quot;{{ result.groups[0].id }}&quot;<br> <br>   - name: Creating users, adding to a group and define the password<br>     include_tasks: &quot;tcb-bmc-iam-creating-users.yaml&quot;<br>     loop: &quot;{{ users }}&quot;</pre><ul><li>Then, I run the following commands :</li></ul><blockquote>ansible-playbook tcb-bmc-iam-creating-groups-and-policies.yaml<br>ansible-playbook tcb-bmc-iam-creating-users-cloud-admin.yaml<br>ansible-playbook tcb-bmc-iam-creating-users-dba-admin.yaml<br>ansible-playbook tcb-bmc-iam-creating-users-network-admin.yaml<br>ansible-playbook tcb-bmc-iam-creating-users-compute-admin.yaml<br>ansible-playbook tcb-bmc-iam-creating-users-operators.yaml</blockquote><ul><li>Finally, I have the following created :</li></ul><p>Policies</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nGB5IgOryXEy3pHzdpGaKw.png" /></figure><p>Groups</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oSp4ITLfNdAz3COQmooirg.png" /></figure><p>And users</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*prdToefBTJOsEaydefJldQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=49919a56180f" width="1" height="1" alt=""><hr><p><a href="https://awstip.com/deploying-users-groups-and-policies-in-a-100-automated-way-using-ansible-and-cloud-shell-49919a56180f">Deploying Users, Groups And Policies In A 100% Automated Way Using Ansible And Cloud Shell</a> was originally published in <a href="https://awstip.com/">AWS Tip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>