DevOps on Oracle Cloud

As an organization matures in implementing various application development practices, more automation can be brought to improve the application life cycle management. In Agile development, requirements and solutions or builds evolve through collaboration between self-organizing, cross-functional teams. In Continuous Integration, members of a team integrate their work frequently; usually each person integrates at least daily—leading to multiple integration per day. Each integration is verified by an automated build (including test) to detect integration errors as quickly as possible. The goal of Continuous Delivery is to get the new features that the developers are creating, out to the customers and users as soon as possible. It ensures that applications are production-ready throughout the life cycle and can be released at any time while minimizing rollback due to quality issues. DevOps helps you to establish the cultural change and appropriate ways of working to capitalize Continuous Delivery to the fullest.

This shows how to Continuous Integration, Continuous Delivery, and DevOps on Oracle Cloud:

  • Use Oracle Cloud Services to develop applications and push continuous builds
  • Manage infrastructure and configuration
  • Use Oracle Compute Cloud Service to set up virtualized infrastructure as code
  • Deploy Chef on Compute Cloud Service instances
  • QA in DevOps
  • Test low-level APIs using cURL
  • Automation and orchestration concepts
  • Continuous monitoring
  • Manage the modern cloud DevOps

Create a Java Cloud Service Instance: Access the Oracle Java Cloud Service Console and create a Java Cloud Service instance. This instance will be used for deploying application.

  • Creating a Project in Oracle Developer Cloud Service
  • Agile and Project Management: Create an Agile board with several Sprints and assign the backlogged issues
  • Test-Driven Development
  • Developing Applications Using an IDE
  • Managing Projects with Maven: Maven project – Convert a Project in OEPE to a Maven Project and Add the pom.xml File: In the OEPE IDE, configure pom.xml, run Maven commands, generate artifacts, and commit pom.xml to the Git repository of the Oracle Developer Cloud Service project.

  • Configure the POM File: 
  • Run the Maven Commands and Generate Artifacts
  • Commit the POM file to the Git repository of the Oracle Developer Cloud Service project
  • Verify the commit in the Oracle Developer Cloud Service web UI

  • Continuous Builds Utilizing Hudson: Create a job for the project, set up a build step, set up a post-build step to create artifacts, and archive the artifacts.

  • Deploying your Application to Java Cloud Service Directly from Developer Cloud Service: Set up an automatic deployment for your app that is built with Hudson.

  • Testing Low-Level APIs with cURL: Test a basic RESTful Java EE application by using cURL:
  • Prerequisite: Successful deployment of your sample RESTful application to Java Cloud Service,
  • This will show you how to make each type of request (GET, PUT, POST, and DELETE) with appropriate metadata, and how to interpret the response. REST is the foundation of the modern web. By making a request to an application via a Universal Request Identifier (URI), you can interact with the low-level API on a server that returns a response. Ensuring that your requests are properly formed is the first task. Then you
    will examine how to interpret responses that may be malformed, for testing purposes. You will also see how a server might improperly handle a request, indicating a problem with the API.
  • Test the application’s POST endpoints. This can be done with the following invocations of curl:
    curl http://URI/restlab/resources/contacts -X POST -H ‘Content-Type: application/json’ -d ‘{data}’
  • Set up configuration management (Chef) – Infrastructure to Set Up Configuration Management
  • Creating a Chef Cookbook Locally and Building a Basic Web Server: This show how to build a basic web server by using the tools in the Chef Development Kit (ChefDK). You will provision the target node, an Oracle Linux 6.4 instance, by using Oracle Cloud Compute. The web server is a key component of many infrastructures, and this will demonstrate the ease of deploying this basic configuration with Chef. You will see how to launch an instance by using Oracle Cloud Compute with the necessary permissions to serve the application.

  • Deploying the Chef Server and Bootstrapping a Chef
  • Install a Chef Server on an Oracle Compute Cloud Service

  • Bootstrapping Chef Clients

  • Test-Driven Development in Python: Implement test-driven development (TDD) in Python.
  • Configuring JUnit Tests with Oracle Developer Cloud Service

Test-Driven Development is great with stand-alone Java or Python. You will add tests to your project and include the test results in
the Oracle Developer Cloud Service build process.

You must have completed the following:
• Importing your app project into OEPE
• Connecting OEPE to Oracle Cloud
• Converting your Sample app project to Maven
• Creating the Developer Cloud Service SampleApp project and the continuous SampleAppBuild job
• Building the SampleAppBuild job

Leave a Reply

Your email address will not be published.