<?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 Hassan Ajan on Medium]]></title>
        <description><![CDATA[Stories by Hassan Ajan on Medium]]></description>
        <link>https://medium.com/@hassanajan?source=rss-3d127543a3cc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ajLE0Hh04-veJxIBGpvycQ.jpeg</url>
            <title>Stories by Hassan Ajan on Medium</title>
            <link>https://medium.com/@hassanajan?source=rss-3d127543a3cc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 22:07:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hassanajan/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[Getting started with the MySQL Operator for Kubernetes]]></title>
            <link>https://medium.com/oracledevs/getting-started-with-the-mysql-operator-for-kubernetes-8df48591f592?source=rss-3d127543a3cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/8df48591f592</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[mysql]]></category>
            <dc:creator><![CDATA[Hassan Ajan]]></dc:creator>
            <pubDate>Wed, 24 Apr 2019 16:55:42 GMT</pubDate>
            <atom:updated>2019-07-18T20:15:51.959Z</atom:updated>
            <content:encoded><![CDATA[<p>Kubernetes Operators are amazing and they are already playing an important role for those who are managing large scale applications. I personally think that we will manage all applications using Operators.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4JspDZGDtpJER0NUbIFnlA.png" /></figure><p>In this tutorial I will show you how to setup a MySQL cluster using the MySQL Operator on Kubernetes.</p><p>Prerequisites:</p><ol><li>Install <a href="https://kubernetes.io/docs/tasks/tools/install-kubectl/">kubectl</a></li><li>Install <a href="https://helm.sh/docs/using_helm/">Helm</a></li><li>Kubernetes Cluster: Use <a href="https://kubernetes.io/docs/setup/minikube/">minikube</a> locally or check out <a href="https://medium.com/devopslinks/kubernetes-deploying-a-cluster-with-a-few-clicks-using-a-web-console-5dbf75abc853">Luca’s post</a> on how to set up OKE.</li></ol><p>Let’s start with cloning the MySQL repository which contains the Operator.</p><pre>$ git clone <a href="/service/mailto:git@github.com">git@github.com</a>:oracle/mysql-operator.git</pre><p>Now enter the directory.</p><pre>$ cd mysql-operator</pre><p>Make sure your helm repo’s are up to date.</p><pre>$ helm repo update</pre><p>Let’s create a namespace where the operator will be installed.</p><pre>$ kubectl create ns mysql-operator</pre><p>Install the mysql operator.</p><pre>$ helm install --name mysql-operator mysql-operator</pre><p>You should see an output similar to this:</p><pre>NAME:   mysql-operator<br>LAST DEPLOYED: Tue Apr 23 15:48:53 2019<br>NAMESPACE: default<br>STATUS: DEPLOYED</pre><pre>RESOURCES:<br>==&gt; v1beta1/CustomResourceDefinition<br>NAME                                   AGE<br>mysqlbackupschedules.mysql.oracle.com  4s<br>mysqlclusters.mysql.oracle.com         4s<br>mysqlbackups.mysql.oracle.com          4s<br>mysqlrestores.mysql.oracle.com         4s</pre><pre>==&gt; v1beta1/ClusterRole<br>mysql-operator  4s<br>mysql-agent     4s</pre><pre>==&gt; v1beta1/ClusterRoleBinding<br>NAME            AGE<br>mysql-operator  3s<br>mysql-agent     3s</pre><pre>==&gt; v1beta1/Deployment<br>NAME            DESIRED  CURRENT  UP-TO-DATE  AVAILABLE  AGE<br>mysql-operator  1        1        1           0          3s</pre><pre>==&gt; v1/Pod(related)<br>NAME                           READY  STATUS             RESTARTS  AGE<br>mysql-operator-d99c84c9-sldb7  0/1    ContainerCreating  0         3s</pre><pre>==&gt; v1/ServiceAccount<br>NAME            SECRETS  AGE<br>mysql-agent     1        5s<br>mysql-operator  1        4s</pre><pre>NOTES:<br>Thanks for installing the MySQL Operator.</pre><pre>Check if the operator is running with</pre><pre>kubectl -n mysql-operator get po</pre><p>As the document states we can check the status of the cluster. Notice because we installed it in the namespace called mysql-operator we are using the -n flag.</p><pre>$ kubectl -n mysql-operator get po</pre><pre>NAME                            READY     STATUS    RESTARTS   AGE<br>mysql-operator-d99c84c9-sldb7   1/1       Running   0          2m</pre><p>Our Operator is up and running.</p><p>Let’s create a new namespace where we will install the MySQL Cluster:</p><pre>$ kubectl create ns mysql-cluster</pre><p>Since we are creating the MySQL Cluster in a new namespace, which we have named “mysql-cluster”, we need to create themysql-agent ServiceAccount and RoleBinding in that namespace.</p><p>If you decide to name your namespace something else make sure to change it below also.</p><p>Let’s create the mysql-agentServiceAccount and RoleBinding:</p><pre>$ cat &lt;&lt;EOF | kubectl create -f -<br>apiVersion: v1<br>kind: ServiceAccount<br>metadata:<br>  name: mysql-agent<br>  namespace: mysql-cluster<br>---<br>kind: RoleBinding<br>apiVersion: rbac.authorization.k8s.io/v1beta1<br>metadata:<br>  name: mysql-agent<br>  namespace: mysql-cluster<br>roleRef:<br>  apiGroup: rbac.authorization.k8s.io<br>  kind: ClusterRole<br>  name: mysql-agent<br>subjects:<br>- kind: ServiceAccount<br>  name: mysql-agent<br>  namespace: mysql-cluster<br>EOF</pre><p>You should see an output similar to this:</p><pre>serviceaccount &quot;mysql-agent&quot; created<br>rolebinding &quot;mysql-agent&quot; created</pre><p>Create a cluster.yaml file with a database name and namespace. I have named mine “my-first-db” and I’m using the namespace “mysql-cluster”.</p><pre>apiVersion: mysql.oracle.com/v1alpha1<br>kind: Cluster<br>metadata:<br>  name: my-first-db<br>  namespace: mysql-cluster</pre><p>Now let’s create the MySQL Cluster.</p><pre>$ kubectl apply -f cluster.yaml<br>mysqlcluster &quot;my-first-db&quot; created</pre><p>Notice below, that because we have installed the mysql-operator, kubernetes now have a new resource called “mysqlclusters”. Similar to how we write <em>kubectl get pods</em> we can now write <em>kubectl get mysqlclusters</em>.</p><p>We are still using the -n flag because we installed the mysql cluster in the namespace called “mysql-cluster”. I should perhaps have picked a different name to avoid confusing it with the resource name.</p><p>Let’s check our mysql clusters:</p><pre>$ kubectl -n mysql-cluster get mysqlclusters<br>NAME          AGE<br>my-first-db   32s</pre><p>We can see that we have one mysql-cluster running.</p><p>Let’s check how many pods are running:</p><pre>$ kubectl -n mysql-cluster get pods <br>NAME            READY     STATUS    RESTARTS   AGE<br>my-first-db-0   2/2       Running   0          5m<br>my-first-db-1   2/2       Running   0          5m<br>my-first-db-2   2/2       Running   0          5m</pre><p>As you can see our cluster consists of three pods. By default the cluster has three members. You can specify otherwise by adding <em>spec: members: 3</em> to the cluster.yaml file. There are also other options but I will cover those in a different blog post.</p><p>Let’s get the root password for our new database. Notice the secret and configs automatically created by the operator are prefixed with database name we entered above in the cluster.yaml file.</p><pre>$ kubectl -n mysql-cluster get secret my-first-db-root-password -o jsonpath=&quot;{.data.password}&quot; | base64 --decode</pre><pre>#output<br>FDlQQxPCVdMZ6lAt</pre><p>Let’s create a temporary container that contains the MySQL client to test that we can connect to the newly created database.</p><p>Notice we are creating the container in the same namespace. If we don’t we won’t be able to use the hostname to reach the database created.</p><pre>$ kubectl -n mysql-cluster run mysql-client --image=mysql:5.7 -it --rm --restart=Never -- /bin/bash</pre><pre>If you don&#39;t see a command prompt, try pressing enter.<br>root@mysql-client:/#</pre><p>Replace the password below with the password generated above.</p><pre>$ mysql -h my-first-db -uroot -pFDlQQxPCVdMZ6lAt -e &#39;SELECT 1&#39;</pre><pre>mysql: [Warning] Using a password on the command line interface can be insecure.<br>+---+<br>| 1 |<br>+---+<br>| 1 |<br>+---+</pre><p>Congratulations. You have installed the MySQL Operator, created a MySQL Cluster and connected to it.</p><p>If you want to give this a try on Oracle Cloud sign up for a <a href="http://bit.ly/OKEMySQL">free trial</a> and launch Kubernetes in a few minutes.</p><p>In case you run into problems or need advice setting up a production grade system feel free to reach out to me on <a href="https://twitter.com/hassanajan">twitter</a> or <a href="https://www.linkedin.com/in/hassanajan">linkedin</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8df48591f592" width="1" height="1" alt=""><hr><p><a href="https://medium.com/oracledevs/getting-started-with-the-mysql-operator-for-kubernetes-8df48591f592">Getting started with the MySQL Operator for Kubernetes</a> was originally published in <a href="https://medium.com/oracledevs">Oracle Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying a simple node.js App to Kubernetes]]></title>
            <link>https://medium.com/oracledevs/deploying-a-simple-node-js-app-to-kubernetes-56b313b99061?source=rss-3d127543a3cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/56b313b99061</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Hassan Ajan]]></dc:creator>
            <pubDate>Sat, 23 Mar 2019 19:11:33 GMT</pubDate>
            <atom:updated>2019-07-18T20:15:36.820Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RgCNLyra9rfaJdWUxh38xw.jpeg" /></figure><p>A few days ago I was presenting Kubernetes to a small IT Team, as always I started with explaining the concept of Containers, Docker Hub, Docker build files and then went on to talk about deploying multi-tier apps using Helm Charts. I ended it with showing how to setup CI/CD with Wercker. It didn’t go as I expected.</p><p>The IT Team I was presenting to were overwhelmed with the many tools and I can fully understand that. Trying to understand Kubernetes and the full ecosystem while being new to the concept of containers can be quite difficult.</p><p>We took a few steps back and instead showed a really simple example:</p><ol><li>Build a simple App that exposes a REST API</li><li>Packaged the App and dependencies in a Docker Image</li><li>Push the Docker Image to a registry, in this case the Oracle Cloud Infrastructure Registry (OCIR)</li><li>Deploy the App to Kubernetes</li></ol><p><strong>Pre-Requisites:</strong></p><p>There are a few pre-requistes to this tutorial. You can read more about those here.</p><ul><li>Create a Oracle Kubernetes Cluster</li><li>Install OCI Tools</li><li>Install Kubectl</li><li>Download the OKE Configuration</li><li>Create a Repository on OCIR</li></ul><p>I wasn’t intending of building an app from scratch even though it wouldn’t take long. I headed to github and tried a few different apps, eventually I found this app and cloned it:</p><p><a href="https://github.com/haj/rest-api-sample">haj/rest-api-sample</a></p><p><strong>Clone the app from github:</strong></p><pre>git clone git@github.com:haj/rest-api-sample.git</pre><p><strong>Go to the folder:</strong></p><pre>cd rest-api-sample</pre><p><strong>Build the Container:</strong></p><pre>docker build -t fra.ocir.io/&lt;tenancyname&gt;/&lt;reponame&gt;/node-web-app .</pre><p><strong>Create Credentials for Oracle Container Registry</strong></p><p>Kubernetes need to access the container registry to pull the image from there.</p><pre>kubectl create secret docker-registry regcred --docker-server=fra.ocir.io --docker-username=&lt;tenancyname&gt;/myemail@email.com  --docker-password=’very secret’ --docker-email=myemail@email.com</pre><p>Create a deployment.yaml file which defines our Deployment and Serivce. We will use this in the next step to deploy the container and create a loadbalancer to expose the service:</p><pre>cat &lt;&lt;EOF &gt;&gt; deployment.yaml<br>apiVersion: apps/v1beta1</pre><pre>kind: Deployment</pre><pre>metadata:</pre><pre>name: hello-world</pre><pre>spec:</pre><pre>replicas: 1 # tells deployment to run 2 pods matching the template</pre><pre>template: # create pods using pod definition in this template</pre><pre>metadata:</pre><pre># unlike pod-nginx.yaml, the name is not included in the meta data as a unique name is</pre><pre># generated from the deployment name</pre><pre>labels:</pre><pre>app: hello-world</pre><pre>spec:</pre><pre>containers:</pre><pre>- name: hello-world</pre><pre>image: fra.ocir.io/&lt;tenancyname&gt;/&lt;reponame&gt;/node-web-app:latest</pre><pre>ports:</pre><pre>- containerPort: 8081</pre><pre>imagePullSecrets:</pre><pre># enter the name of the secret you created</pre><pre>- name: regcred</pre><pre>---</pre><pre>apiVersion: v1</pre><pre>kind: Service</pre><pre>metadata:</pre><pre>name: hello-world</pre><pre>spec:</pre><pre>type: LoadBalancer</pre><pre>ports:</pre><pre>- port: 80</pre><pre>protocol: TCP</pre><pre>targetPort: 8081</pre><pre>selector:</pre><pre>app: hello-world<br>EOF</pre><p><strong>Deploy to Kubernetes</strong></p><pre>kubectl create -f deployment.yaml</pre><p><strong>Check the status of the deployment created</strong></p><pre>kubectl get pods</pre><p><strong>Check the status of service created</strong></p><pre>kubectl get service</pre><p><strong>Post some content to the App deployed:</strong></p><p>Change the ip below with the external ip of the loadbalancer created.</p><pre>curl -d &#39;{&quot;body&quot;:&quot;This is amazing&quot;, &quot;feel&quot;:&quot;happy&quot;}&#39; -H &quot;Content-Type: application/json&quot; -X POST <a href="http://132.145.254.60:8081/api/v1/tweet/">http://&lt;IP&gt;:80/api/v1/tweet/</a></pre><p>That’s it, you have now packaged an app in a container, pushed it to a container registry and deployed it to Kubernetes.</p><p>Check out helm charts to learn how to deploy container to Kubernetes in a more manageable way.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56b313b99061" width="1" height="1" alt=""><hr><p><a href="https://medium.com/oracledevs/deploying-a-simple-node-js-app-to-kubernetes-56b313b99061">Deploying a simple node.js App to Kubernetes</a> was originally published in <a href="https://medium.com/oracledevs">Oracle Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why you should run Kubernetes & Helm in Cloud]]></title>
            <link>https://medium.com/@hassanajan/the-beauty-of-kubernetes-helm-and-iaas-9b982ce8190c?source=rss-3d127543a3cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/9b982ce8190c</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Hassan Ajan]]></dc:creator>
            <pubDate>Wed, 22 Aug 2018 17:52:19 GMT</pubDate>
            <atom:updated>2020-05-09T08:50:50.703Z</atom:updated>
            <content:encoded><![CDATA[<p>I have recently been playing around with Kubernetes and Helm and Monocular and I want to share some thoughts and a video of how I setup Monocular and accessed the apps I deployed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W2Al3X59SvvpNeeL7FTvhQ.png" /></figure><h3>What is Helm?</h3><p>If you are new to the world of Kubernetes, well then Helm is similar to docker-compose files except that it’s a bit more advanced. Helm is a package manager for Kubernetes, it allows you to describe a full complex containerised application which can then be deployed with the Helm CLI. A Helm packaged application is called a Chart. In reality a Helm Chart is a related set of Kubernetes resources.</p><p>There are many Helm Charts build already for various open source solutions. They are great to use as examples if you are about to build your own Helm Chart for your application. These Helm Charts can be found online in so called Helm Repo’s. You can easily create your own helm repo too with a simple web server.</p><p>You can find instructions on how to add an official Helm Repo to your helm installation: <a href="https://github.com/helm/charts">https://github.com/helm/charts</a></p><h4>This all means that you can simply desribe the ressources needed for your application in Helm Charts and Kubernetes will take care of the rest from secrets to persistant boot volumes.</h4><h3>One Click Installations &amp; Visualising it All</h3><p>Monocular is a dashboard build for visualising the content of various Helm Repo’s. It’s an open source project and be installed with a single command line. Monocular it self is also packaged as a Helm Chart.</p><p>Monocular can also install the Helm Charts similar to what you can do with the Helm CLI and it keeps track of what have been deployed to your Kubernetes cluster, ie. you can manage your deployments from Monocular.</p><h3>Native IaaS Ressources &amp; Kubernetes</h3><p>Combining Kubernetets, Helm Charts, Monocular and IaaS is extremely powerful. Why you might ask?</p><p>Kubernetes, allows you to manage containers in a scalable and reliable way. It deals with all the difficult parts of operating Applications such as orchestration of containers, networking, load-balancing, service discovery, secrets, persistancy of volumes and more.</p><p>The beauty of using IaaS with Kubernetes is that Kubernetes can utilize and provision native cloud ressources such as IP’s, Load Balancers and Block Volumes. This immediately takes containers to another level that can seriously compete with VM’s.</p><p>This is essentially what has made VM’s on the Cloud so successful:</p><ul><li>Flexible Block Volumes</li><li>Flexible IP’s</li><li>Flexible Load Balancers</li></ul><h4>By giving the container orchestrator the ability to seamlessly create IaaS ressources you are basically combining solid native cloud features with extremely lightweight disposable ressources. That right there is true agility!</h4><h3>App Store for Kubernetes</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Frfo7fgTaYnI%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Drfo7fgTaYnI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Frfo7fgTaYnI%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/072ab2727e7da00ba52e9fb7e4e08d89/href">https://medium.com/media/072ab2727e7da00ba52e9fb7e4e08d89/href</a></iframe><p>In 30 minutes or less you can easily setup a self-service dashboard for your dev team to benefit from the agility of containers.</p><p>Helm &amp; Kubernetes together are simply so powerful and make deploying &amp; managing complex apps so easy! Combine Kubernetes with Monocular and you have an amazing internal App Store for your Kubernetes Cluster.</p><p>In the video I’m installing Monocular the UI for helm, I’m then using the UI to install Joomla an open source CMS, then Prometheus to monitor Kubernetes and then Grafana to visualise the metrics from Prometheus.</p><p>You can try this out on your own with Minikube or a real Kubernetes cluster with a free trial: <a href="http://bit.ly/odtrial300">http://bit.ly/odtrial300</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9b982ce8190c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From 3 to 70+ Cloud Services in 36 months]]></title>
            <link>https://medium.com/@hassanajan/quick-overview-of-oracle-iaas-paas-services-3ff8bbe0ae6?source=rss-3d127543a3cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ff8bbe0ae6</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[oracle]]></category>
            <dc:creator><![CDATA[Hassan Ajan]]></dc:creator>
            <pubDate>Wed, 04 Jul 2018 16:37:28 GMT</pubDate>
            <atom:updated>2018-07-04T18:32:37.758Z</atom:updated>
            <content:encoded><![CDATA[<h3>In mid 2014 I was offered a job, it said in the job description “…a start-up within Oracle”. I couldn’t really imagine how a company the size of Oracle could work like a start-up!</h3><p>I have always loved working in start-up environments because of the creativity it allows and because there is an opportunity to shape and influence the business early on. <strong>I said yes and joined the Oracle family of 150.000 members.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*v2sFAmj-_GplweyLUcyS7A.png" /></figure><p>I quickly came to realize that the cloud portfolio consisted of mainly Storage, Database and Java services aside from SaaS. <strong>It was indeed a start-up, judging on the IaaS and PaaS offerings.</strong></p><p>Three years later and I’m struggling to keep up with all the features that are constantly being released in a portfolio of over 70 services covering <strong>Application Development, Collaboration, IT Management, Analytics, Integration, Security, Infrastructure &amp; Networking</strong>.</p><p>The speed of development of products, services, pricing models and even company culture has been amazing. Start-ups that I have worked for previously where the environment has been extremely lean and agile and where new product features were delivered on a daily basis doesn’t even come close to the speed of development that is happening in Oracle today.<strong> It’s almost like being part of 70 start-up’s from a product perspective.</strong></p><p>If I’m struggling to keep up I’m sure many could use a bit of help to understand the Oracle IaaS/PaaS portfolio.</p><h4>Keeping it short..</h4><p>While a lot can be said about each one of these services I will describe what each service is in a few sentences with links to further reading. In future posts I will write about specific services in more detail and emphasize on the value and use cases.</p><p>Let’s take a closer look at what some of these <strong>70 services</strong> are. I have categorized the services based on who they are meant for, in this part <strong>I’ll will cover the products related to application development</strong>.</p><h4>Kick-starting Development</h4><p>In almost any development project the basic tools that are needed is a text editor or IDE, a code versioning system like git, a ticket or bug management system, a wiki to document it all and a build/deployment server that automates the code compilation, the packaging, testing and deployment, often referred to as Continuous Integration, Delivery and Deployment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WL_FmYjXf0gAXHYHlY3h6Q.gif" /></figure><p>On the Oracle Cloud this a single service, we call it the <strong>Developer Cloud Service</strong>, simply put it’s GIT, a wiki, a Ticketing System and a Build Server that comes with prebuilt deployment jobs and integrations for the various Oracle Services. It can also be used to deploy to other targets outside of the Oracle Cloud.</p><p>You can read more about how to build a Continuous Integration pipeline here: <a href="https://blogs.oracle.com/developers/oracle-developer-cloud-new-continuous-integration-engine-deep-dive">https://blogs.oracle.com/developers/oracle-developer-cloud-new-continuous-integration-engine-deep-dive</a></p><h4>CI/CD for Containers</h4><p>In containerized environments the deployment process is slightly different than in traditional environments based on VM’s or Bare Metal. With traditional application deployment it’s the application packaged as a ZIP or JAR etc. that is being shipped from environment to environment, ie. from testing to staging to production. In containerized environments the whole container (APP+RUNTIME) is shipped from environment to environment. In addition to compiling the application and testing it, the container itself also needs to be built and tested. This typically requires Docker Tools (docker cli) and a Container Registry. <a href="http://www.wercker.com/"><strong>Wercker</strong></a><strong> </strong>is the service that handles CI/CD for Containers. It supports Kubernetes and can be integrated with BitBucket and Github. Besides CI/CD it can provision a full Kubernetes Cluster. It uses the concept of adding a yaml to the git repo which describes the all the steps in build process, very similar to gitlab and circle ci.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jHCpho_F8_A0cpulM5rg3w.png" /></figure><h4>A home for every Application</h4><p>When it comes to running applications, Oracle has a variety of Infrastructure services that can be used depending on the type of application. Traditional applications also known as monoliths or simple two tier applications are usually run on VMs. The OCI VMs come in various shapes, each shape has a specific amount of OCPU’s (pinned cores) and memory.</p><h4>NVMe powered VMs</h4><p>If the app requires some real horse power you can provision Bare Metal or VMs with locally attached NVMe’s which is extremely fast and comes with up to <a href="https://blogs.oracle.com/cloud-infrastructure/high-performance-x7-compute-service-review-analysis">51.2TB with 5.5MM IOPS at &lt; 1ms latency</a>. If it’s simple web applications you can go with SSDs Volumes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hcpWd4Z-CpmuAsKI6ulkGg.png" /><figcaption>Click the above link to understand the graph</figcaption></figure><h4>GPU powered VMs &amp; Bare Metal</h4><p>Need to run intensive applications with parallel processing. A GPU can typical run 2048 processes in parallel. On Oracle you can get NVidia Tesla P100 GPU’s on VMs or on dedicated physical machines. Currently from 1 to 4 GPU’s in a single VM or 2 to 8 GPU’s on a Bare Metal machine.</p><h4>High Performance Compute &amp; Low Latency</h4><p>Applications that fall into the category of HPC (High Performance Compute) the obvious choice is <strong>Bare Metal Servers. </strong>Physical Servers that are dedicated, comes with 36 OCPUs or 52 OCPUs (104 Threads)</p><p>The Oracle Cloud comes with off-box networking which is quite unique to Oracle I’ll explain that and the performance advantage in a seperate article.</p><h4>Mission Critical Systems &amp; DR</h4><p>Looking to host mission critical apps where HA and DR is a must. We have a variety of services that support this on multiple layers of the stack.</p><p>There are multiple regions around the world and within each region there are multiple fault tolerant availability domains. They are close enough to ensure from Load Balancers to Database Clusters for zero data loss to Failover.</p><h4>Containers the easy way</h4><p>If your app needs a scalable place to run and you don’t want to manage any VMs and don’t want to worry about installing dependencies nor configuring load balancers.</p><p><strong>ACCS </strong>is what you need. A fully managed container service that comes prebuilt runtimes. It support Node.js, Ruby on Rails, Java SE, GO and PHP. All you need to do is simply upload your application as a ZIP file. If you are want CI/CD you can simply let Developer Cloud Service deploy your app from git directly to ACCS.</p><p><strong>Kubernetes </strong>is the most powerful and complete container management system out there and now you can have it <strong>fully managed</strong>. It has some really useful components like Services that allows you to map domain names to specific services on the containers or Pods as it’s called I the world of Kubernetes. It also comes with etcd for service discovery which is behind a lot of the magic and it also comes with a service registry. Best of all it’s all preconfigured and managed, so all you need to do is deploy your app. With the Developer Cloud Service &amp; Wercker you build CI/CD pipeline for your containers in no time.</p><h4>Containers your way</h4><p>Looking for full control of your container cluster management system but want a shortcut to the result then spin up a full blown <a href="https://github.com/oracle/terraform-kubernetes-installer"><strong>Kubernetes cluster on OCI </strong>with Terraform</a>. All the juicy details about multiple masters and multi availability domains and multiple subnets can be found <a href="https://github.com/oracle/terraform-kubernetes-installer">here</a>.</p><p>Antonio from CERN has written a nice blogpost on how to set it up which is quite simple to follow: <a href="https://db-blog.web.cern.ch/blog/antonio-nappi/2018-02-install-kubernetes-oracle-cloud-infrastructure">https://db-blog.web.cern.ch/blog/antonio-nappi/2018-02-install-kubernetes-oracle-cloud-infrastructure</a></p><p>If you are not a fan of code and scripts and prefer a fancy UI with a drag and drop editor to build your container stacks then <strong>OCCS </strong>is the right cluster management system for you. Best of all you have root access to the servers and stay in control. The whole system is automatically provisioned from the cloud dashboard with a few click. You decide how many VMs you want as workers. It comes with a few pre-built containers and you can seamlessly pull any image from docker hub immediately. Brian Matthews wrote a nice <a href="https://medium.com/@brianbmathews/beginners-guide-to-deploying-wordpress-to-docker-containers-on-oracle-cloud-eed4b3691ea4">blogpost</a> recently about OCCS. You can find it <a href="https://medium.com/@brianbmathews/beginners-guide-to-deploying-wordpress-to-docker-containers-on-oracle-cloud-eed4b3691ea4">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vqsv-vV8SgPtESv9MtGQLA.png" /><figcaption>Taken from the blogpost above. Thanks Brian.</figcaption></figure><h4>VMware Compatible Cloud</h4><p>Have you been dreaming about the ability of moving your VMs exactly as they are running in VMware and dumping them in a cloud environment where you don’t have to worry about the underlying infrastructure, storage and even VMware. Well you don’t have to dream anymore. Ravello allows you to do exactly that. Ravello’s desktop client can connect to your VMWare ESXi or vSphere and from there you can simply select your VMs and send them off to Ravello in the cloud. Because Ravello supports L2 networking and is VMware compatibly you don’t have to convert anything and you don’t have to change your VM’s. It’s like magic. You can do exactly the same if you are running KVM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LGCjuLJ2NszqvmnXCD9pJg.png" /><figcaption>Ravello has a powerful yet userfriendly UI</figcaption></figure><h4>Automation, Provisioning &amp; Orchestration</h4><p>To really benefit from the fruits of IaaS, automation is a must. Some of the best tools in this space are Terraform, Chef and Puppet. Terraform is great for provisioning, simply describe your infrastructure, the VM shapes, the networking and the storage in the Terraform DSL and run it to have all your IaaS resources provisioned automatically. You can even go a few steps further with Terraform and also install and configure the runtime automatically. Chef’s Knife is similar and both supports OCI, you can find the Terraform OCI Provider here to manage your cloud like a pro.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YkoZoVnPTVSZiLwCg0-1Cw.png" /></figure><p>If you prefer to stick to Oracle native tools you can use the CLI’s or the SDKs both use the concept of Orchestrations where you define your whole environments in JSON. Arne has written a simple tutorial on how to get started with Terraform on OCI: <a href="http://arnes-stuff.blogspot.com/2017/11/oracle-cloud-infrastructure-and.html">http://arnes-stuff.blogspot.com/2017/11/oracle-cloud-infrastructure-and.html</a></p><h4>More to come..</h4><p>We have been working on a lot in the past few years. In this article I have given you a high level overview IaaS and mainly App Development related services. In the next article we will look into the services that help manage and secure applications to stay on top of things.</p><p>You can try any of the services mentioned in this article and more for free on the <a href="http://bit.ly/ODTrial">Oracle Cloud</a>.</p><p>If you would like me to cover something specific ping me here or on twitter <a href="https://medium.com/u/3d127543a3cc">Hassan Ajan</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ff8bbe0ae6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From 3 to 70+ Cloud services in 36 months]]></title>
            <link>https://medium.com/series/quick-overview-of-oracles-iaas-paas-services-5e86f8377282?source=rss-3d127543a3cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e86f8377282</guid>
            <dc:creator><![CDATA[Hassan Ajan]]></dc:creator>
            <pubDate>Wed, 04 Jul 2018 16:07:58 GMT</pubDate>
            <atom:updated>2018-07-04T22:46:44.355Z</atom:updated>
            <content:encoded><![CDATA[<h3>A start-up within Oracle</h3><p>In mid 2014 I was offered a job, it said in the job description “…a start-up within Oracle”. I couldn’t really imagine how a company the size of Oracle could work like a start-up!</p><p>I have always loved working in start-up environments because of the creativity it allows and because there is an opportunity to shape and influence the business early on. I said yes and joined the Oracle family of 150.000 members.</p><p>I quickly came to realize that the cloud portfolio consisted of mainly Storage, Database and Java services aside from SaaS. It was indeed a start-up, judging on the IaaS and PaaS offerings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*9Y95s3r7kvC5xaX8uwVUaQ.png" /></figure><h4>36 months later..</h4><p>Three years later and I’m struggling to keep up with all the features that are constantly being released in a portfolio of over 70 services covering <strong>Application Development, Collaboration, IT Management, Analytics, Integration, Security, Infrastructure &amp; Networking</strong>.</p><p>The speed of development of products, services, pricing models and even company culture has been amazing. Start-ups that I have worked for previously where the environment has been extremely lean and agile and where new product features were delivered on a daily basis doesn’t even come close to the speed of development that is happening in Oracle today. It’s almost like being part of 70 start-up’s from a product perspective.</p><p>If I’m struggling to keep up I’m sure many could use a bit of help to understand the Oracle IaaS/PaaS portfolio. I’ll cover the services very high level and link to other resources that are good starting points. I might write a few myself on certain topics.</p><p>While a lot could be said about each one of these services I will describe what each service is in a few sentences with links to further reading. In future posts I will write about specific services in more detail and emphasize on the value and use cases.</p><p>Let’s take a closer look at what some of these <strong>70 services</strong> are. I have categorized the services based on who they are meant for, in this part <strong>I’ll will cover the products related to application development</strong>.</p><h4>Kick-starting Development</h4><p>In almost any development project the basic tools that are needed is a text editor or IDE, a code versioning system like git, a ticket or bug management system, a wiki to document it all and a build/deployment server that automates the code compilation, the packaging, testing and deployment, often referred to as Continuous Integration, Delivery and Deployment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WL_FmYjXf0gAXHYHlY3h6Q.gif" /></figure><p>On the Oracle Cloud this a single service, we call it the <strong>Developer Cloud Service</strong>, simply put it’s GIT, a wiki, a Ticketing System and a Build Server that comes with prebuilt deployment jobs and integrations for the various Oracle Services. It can also be used to deploy to other targets outside of the Oracle Cloud.</p><h4>CI/CD for Containers</h4><p>In containerized environments the deployment process is slightly different than in traditional environments based on VM’s or Bare Metal. With traditional application deployment it’s the application packaged as a ZIP or JAR etc. that is being shipped from environment to environment, ie. from testing to staging to production. In containerized environments the whole container (APP+RUNTIME) is shipped from environment to environment. In addition to compiling the application and testing it, the container itself also needs to be built and tested. This typically requires Docker Tools (docker cli) and a Container Registry. <a href="http://www.wercker.com/"><strong>Wercker</strong></a><strong> </strong>is the service that handles CI/CD for Containers. It supports Kubernetes and can be integrated with BitBucket and Github. Besides CI/CD it can provision a full Kubernetes Cluster. It uses the concept of adding a yaml to the git repo which describes the all the steps in build process, very similar to gitlab and circle ci.</p><h4>A home for every Application</h4><p>When it comes to running applications, Oracle has a variety of Infrastructure services that can be used depending on the type of application. Traditional applications also known as monoliths or simple two tier applications are usually run on VMs. The OCI VMs come in various shapes, each shape has a specific amount of OCPU’s (pinned cores) and memory.</p><h4>NVMe powered VMs</h4><p>If the app requires some real horse power you can provision Bare Metal or VMs with locally attached NVMe’s which is extremely fast and comes with up to <a href="https://blogs.oracle.com/cloud-infrastructure/high-performance-x7-compute-service-review-analysis">51.2TB with 5.5MM IOPS at &lt; 1ms latency</a>. If it’s simple web applications you can go with SSDs Volumes.</p><h4>GPU powered VMs &amp; Bare Metal</h4><p>Need to run intensive applications with parallel processing. A GPU can typical run 2048 processes in parallel. On Oracle you can get NVidia Tesla P100 GPU’s on VMs or on dedicated physical machines. Currently from 1 to 4 GPU’s in a single VM or 2 to 8 GPU’s on a Bare Metal machine.</p><h4>High Performance Compute &amp; Low Latency</h4><p>Applications that fall into the category of HPC (High Performance Compute) the obvious choice is <strong>Bare Metal Servers. </strong>Physical Servers that are dedicated, comes with 36 OCPUs or 52 OCPUs (104 Threads)</p><p>The Oracle Cloud comes with off-box networking which is quite unique to Oracle I’ll explain that and the performance advantage in a seperate article.</p><h4>Mission Critical Systems &amp; DR</h4><p>Looking to host mission critical apps where HA and DR is a must. We have a variety of services that support this on multiple layers of the stack.</p><p>There are multiple regions around the world and within each region there are multiple fault tolerant availability domains. They are close enough to ensure from Load Balancers to Database Clusters for zero data loss to Failover.</p><h4>Containers the easy way</h4><p>If your app needs a scalable place to run and you don’t want to manage any VMs and don’t want to worry about installing dependencies nor configuring load balancers.</p><p><strong>ACCS </strong>is what you need. A fully managed container service that comes prebuilt runtimes. It support Node.js, Ruby on Rails, Java SE, GO and PHP. All you need to do is simply upload your application as a ZIP file. If you are want CI/CD you can simply let Developer Cloud Service deploy your app from git directly to ACCS.</p><p><strong>Kubernetes </strong>is the most powerful and complete container management system out there and now you can have it <strong>fully managed</strong>. It has some really useful components like Services that allows you to map domain names to specific services on the containers or Pods as it’s called I the world of Kubernetes. It also comes with etcd for service discovery which is behind a lot of the magic and it also comes with a service registry. Best of all it’s all preconfigured and managed, so all you need to do is deploy your app. With the Developer Cloud Service &amp; Wercker you build CI/CD pipeline for your containers in no time.</p><h4>Containers your way</h4><p>Looking for full control of your container cluster management system but want a shortcut to the result then spin up a full blown <a href="https://github.com/oracle/terraform-kubernetes-installer"><strong>Kubernetes cluster on OCI </strong>with Terraform</a>. All the juicy details about multiple masters and multi availability domains and multiple subnets can be found <a href="https://github.com/oracle/terraform-kubernetes-installer">here</a>.</p><p>If you are not a fan of YAML and Docker-Compose files and prefer a fancy UI with a drag and drop editor to build your container stacks then <strong>OCCS </strong>is the right cluster management system for you. Best of all you have root access to the servers and stay in control. The whole system is automatically provisioned from the cloud dashboard with a few click. You decide how many VMs you want as workers. It comes with a few pre-built containers and you can seamlessly pull any image from docker hub immediately. Brian Matthews wrote a nice <a href="https://medium.com/@brianbmathews/beginners-guide-to-deploying-wordpress-to-docker-containers-on-oracle-cloud-eed4b3691ea4">blogpost</a> recently about OCCS. You can find it <a href="https://medium.com/@brianbmathews/beginners-guide-to-deploying-wordpress-to-docker-containers-on-oracle-cloud-eed4b3691ea4">here</a>.</p><h4>VMware Compatible Cloud</h4><p>Have you been dreaming about the ability of moving your VMs exactly as they are running in VMware and dumping them in a cloud environment where you don’t have to worry about the underlying infrastructure, storage and even VMware. Well you don’t have to dream anymore. Ravello allows you to do exactly that. Ravello’s desktop client can connect to your VMWare ESXi or vSphere and from there you can simply select your VMs and send them off to Ravello in the cloud. Because Ravello supports L2 networking and is VMware compatibly you don’t have to convert anything and you don’t have to change your VM’s. It’s like magic. You can do exactly the same if you are running KVM.</p><p>As I said in the beginning of this post we have been working on a lot in the past two years. In this article I have given you a high level overview IaaS and App Development related services. In the next article we will look into the services that will help you manage and secure applications and infrastructure to stay on top of things.</p><h4>Automation, Provisioning &amp; Orchestration</h4><p>To really benefit from the fruits of IaaS, automation is a must. Some of the best tools in this space are Terraform, Chef and Puppet. Terraform is great for provisioning, simply describe your infrastructure, the VM shapes, the networking and the storage in the Terraform DSL and run it to have all your IaaS resources provisioned automatically. You can even go a few steps further with Terraform and also install and configure the runtime automatically. Chef’s Knife is similar and both supports OCI, you can find the Terraform OCI Provider here to manage your cloud like a pro.</p><p>If you prefer to stick to Oracle native tools you can use the CLI’s or the SDKs both use the concept of Orchestrations where you define your whole environments in JSON.</p><h4>You can try any of the services mentioned in this article and more for free on the <a href="http://bit.ly/ODTrial">Oracle Cloud</a>.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e86f8377282" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>