Welcome!

Recurring Revenue Authors: Pat Romanski, Zakia Bouachraoui, Yeshim Deniz, Elizabeth White, Xenia von Wedel

Related Topics: Recurring Revenue, Linux Containers, Open Source Cloud, @CloudExpo, Apache

Recurring Revenue: Blog Post

From On-Premise to Infrastructure As a Service By @Oracle | @CloudExpo [#Cloud]

Using Eclipse and Tomcat, you can easily deploy your webapps to the cloud

Moving From On-Premise to Infrastructure As a Service

Let’s say we developed an application and plan to move our app to production on Amazon Elastic Cloud (EC2). Our application, in the form of a webapp, was developed using eclipse and we have tested it on Tomcat running locally. Now, we may want to test our app on an EC2 environment before moving to production.

First, we need to obtain an EC2 cloud instance. To keep costs down, I selected the free offering which offers a 1GB Linux instance. This is sufficient to run a basic tomcat installation. I found this article to help me get Tomcat release 7 running on my EC2 instance: http://alextheedom.wordpress.com/cloud/amazon-free-usage-tier-installing-tomcat-7-on-an-ec2-linux-instance/. Note that it is important to modify the tomcat-users.xml file and add the following:

<tomcat-users>
...
<role rolename="manager-script"/>
<user username="admin" password="" roles="manager-script"/>
</tomcat-users>

This will enable the eclipse and the associated maven plugin to gain access to the Tomcat manager using scripts, with the default username and no password (if you want to use a password, there are additional settings required inside eclipse as described in the article below).

Then from my browser, I went to http://54.148.187.110:8080/ and I can see the Tomcat intro page.

Then, I configured the eclipse  on my Windows laptop. I used:

Eclipse Java EE IDE for Web Developers.

Version: Luna Service Release 1 (4.4.1)

I found this article http://stackoverflow.com/questions/17254839/eclipse-on-click-deploy-to-remote-tomcat that explains how to configure maven within eclipse to deploy a webapp to a remote tomcat (in my case, it’s the Tomcat on my EC2 instance.)

Now I can deploy my webapp as follows:

Right-click on the project name in the Project Explorer panel, select Configure->Convert to Maven Project

After the project is converted, bring up the newly created pom.xml and add the following plugin section (note: you will need to change the URL to your own).

<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.1</version>
<configuration>
<url>http://54.148.187.110:8080/manager/text</url>
</configuration>
</plugin>

Then Click Run->Run Configurations...

For Goals, enter: tomcat7:redeploy

Click Run

...and you are done!

You can access your webapp by going to your browser and typing in the URL for the Tomcat manager (http://<IP address>:8080/manager). From there, you can select your application.

Now, your webapp is running on Tomcat in the Amazon Elastic Cloud!

More Stories By Michael Meiner

Michael Meiner is an Engineering Director at Oracle Corporation. His organization is responsible for lifecycle Quality Assurance of the Fusion Middleware Suite of products, including: installation, configuration, upgrade, test-to-production and interoperability on a range of computing platforms and Operating Systems. The Fusion Middleware product suite supports both On-Premise as well as Cloud offerings.

IoT & Smart Cities Stories
According to Forrester Research, every business will become either a digital predator or digital prey by 2020. To avoid demise, organizations must rapidly create new sources of value in their end-to-end customer experiences. True digital predators also must break down information and process silos and extend digital transformation initiatives to empower employees with the digital resources needed to win, serve, and retain customers.
Early Bird Registration Discount Expires on August 31, 2018 Conference Registration Link ▸ HERE. Pick from all 200 sessions in all 10 tracks, plus 22 Keynotes & General Sessions! Lunch is served two days. EXPIRES AUGUST 31, 2018. Ticket prices: ($1,295-Aug 31) ($1,495-Oct 31) ($1,995-Nov 12) ($2,500-Walk-in)
Business professionals no longer wonder if they'll migrate to the cloud; it's now a matter of when. The cloud environment has proved to be a major force in transitioning to an agile business model that enables quick decisions and fast implementation that solidify customer relationships. And when the cloud is combined with the power of cognitive computing, it drives innovation and transformation that achieves astounding competitive advantage.
Machine learning has taken residence at our cities' cores and now we can finally have "smart cities." Cities are a collection of buildings made to provide the structure and safety necessary for people to function, create and survive. Buildings are a pool of ever-changing performance data from large automated systems such as heating and cooling to the people that live and work within them. Through machine learning, buildings can optimize performance, reduce costs, and improve occupant comfort by ...
René Bostic is the Technical VP of the IBM Cloud Unit in North America. Enjoying her career with IBM during the modern millennial technological era, she is an expert in cloud computing, DevOps and emerging cloud technologies such as Blockchain. Her strengths and core competencies include a proven record of accomplishments in consensus building at all levels to assess, plan, and implement enterprise and cloud computing solutions. René is a member of the Society of Women Engineers (SWE) and a m...
IoT is rapidly becoming mainstream as more and more investments are made into the platforms and technology. As this movement continues to expand and gain momentum it creates a massive wall of noise that can be difficult to sift through. Unfortunately, this inevitably makes IoT less approachable for people to get started with and can hamper efforts to integrate this key technology into your own portfolio. There are so many connected products already in place today with many hundreds more on the h...
Digital Transformation: Preparing Cloud & IoT Security for the Age of Artificial Intelligence. As automation and artificial intelligence (AI) power solution development and delivery, many businesses need to build backend cloud capabilities. Well-poised organizations, marketing smart devices with AI and BlockChain capabilities prepare to refine compliance and regulatory capabilities in 2018. Volumes of health, financial, technical and privacy data, along with tightening compliance requirements by...
Charles Araujo is an industry analyst, internationally recognized authority on the Digital Enterprise and author of The Quantum Age of IT: Why Everything You Know About IT is About to Change. As Principal Analyst with Intellyx, he writes, speaks and advises organizations on how to navigate through this time of disruption. He is also the founder of The Institute for Digital Transformation and a sought after keynote speaker. He has been a regular contributor to both InformationWeek and CIO Insight...
Digital Transformation is much more than a buzzword. The radical shift to digital mechanisms for almost every process is evident across all industries and verticals. This is often especially true in financial services, where the legacy environment is many times unable to keep up with the rapidly shifting demands of the consumer. The constant pressure to provide complete, omnichannel delivery of customer-facing solutions to meet both regulatory and customer demands is putting enormous pressure on...
Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereal. Andrew's role at ConsenSys Enterprise is a mul...