4 Complete the Post-Migrations Tasks

After successfully migrating your Oracle Application Container Cloud Service applications from Oracle Cloud Infrastructure Classic to Oracle Cloud Infrastructure, test your applications thoroughly, and then perform cleanup and other optional configuration tasks.

Test the Migrated Application

To test your application you use the external IP address of the load balancer for your application, or the custom URL if you configured one. You can use a command-line tool or a web browser to transfer data from and to your application.

Use a command-line tool

Using a command-line tool, for example cURL or GNU Wget, you can send requests to the endpoints of your application and retrieve the response.

Example 4-1 cURL Command

$ curl -k https://123.x.x.x/
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
...
...
</html>

Example 4-2 GNU Wget Command

$ wget --no-check-certificate -O - https://123.x.x.x/
--2019-02-05 15:42:29--  https://123.x.x.x/
Request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ¿STDOUT¿
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
...
...
</html>

Use a web browser

If your application includes a user interface, then you can interact with your application using a web browser. If your application is a REST Service without a user interface, then you still can test the GET endpoints using the web browser.

If you enabled an SSL endpoint for the application, then use your web browser to view the SSL certificate. Verify that the SSL certificate is the same as the one you provided in the Kubernetes deployment configuration.

Clean Up the Infrastructure and Platform Resources in Oracle Cloud Infrastructure Classic

After testing your migrated application in Oracle Cloud Infrastructure, you can delete the application and supporting cloud resources in Oracle Cloud Infrastructure Classic.

Delete these Oracle Cloud Infrastructure Classic resources to avoid costs for services that you no longer use.

  1. Access to the Oracle Application Container Cloud Service console.
  2. In the Applications table, click menu icon next to the application that you want to delete.
  3. Click Delete.
  4. Delete any other service instances in Oracle Cloud Infrastructure Classic that your migrated Oracle Application Container Cloud Service application is no longer using.