DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. Running Oracle XE on Amazon EC2

Running Oracle XE on Amazon EC2

$$anonymous$$ user avatar by
$$anonymous$$
·
Feb. 08, 13 · Interview
Like (0)
Save
Tweet
Share
5.20K Views

Join the DZone community and get the full member experience.

Join For Free
a few weeks ago it was this time again. for development of a certain mule esb flow i needed an oracle database to test a jdbc transport enhancement to obtain out parameters from a stored procedure. as soon as this happens i install an oracle xe database which doesn’t take to much time so i can proceed with the work i really have to do. however sine a couple of years i am using my mac for development (and loving it) and as you might know there is no oracle xe release that runs on a mac.
what i used to do is to instantiate a debian instance as a vmware guest and install xe on that. unfortunately i tend too loose these vmware images if i don’t use them for 3 months or so. so that brought me to the idea to just run the database on a server in the cloud. if i can use a micro instance from amazon for that it shouldn’t cost too much .
at first i hoped for a community ami to be available to install. unfortunately this isn’t the case, most likely because of license agreement that you have to accept when you download xe. luckily i found this article explaining all steps. i went through it step by step and now have my own xe instance running in the cloud. of course i also created a (private) ami of it so i can terminate this instance when the project is over and recreate a new one if i might need it again in the future.
by the way two step i did slightly different. first instead of using the certificates on the amazon linux host i made use of the access_key and secret_key by adding these to the ‘.bash_profile like’ this:
export aws_access_key=***
export aws_secret_key=****
secondly i performed the following sql statement to open up the apex administration console from access different then ‘localhost’:
 exec dbms_xdb.setlistenerlocalaccess(false);
so now i am the lucky developer with an oracle instance in the cloud which will always be there if i need it :-)




AWS

Published at DZone with permission of $$anonymous$$. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Java Development Trends 2023
  • PostgreSQL: Bulk Loading Data With Node.js and Sequelize
  • Using JSON Web Encryption (JWE)
  • Data Mesh vs. Data Fabric: A Tale of Two New Data Paradigms

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: