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:
Secondly I performed the following SQL statement to open up the APEX administration console from access different then ‘localhost’:
So now I am the lucky developer with an Oracle instance in the cloud which will always be there if I need it 🙂
Tag CloudActiveMQ amazon Artifactory AWS AWS Beanstalk AWS DynamoDB AWS EMR AWS Glacier AWS IAM AWS RDS AWS Route 53 AWS S3 AWS SDK Java AWS SQS AWS VPC Axis2 Boxfuse BPEL BPMN Citrus Cloud CloudCheckr Continuous Build CruiseControl CXF DataMining DZone EJB3 Git GitLab GlassFish Hadoop Hibernate IntelliJ IDEA iOS Jasper Reports Java JavaCodeGeeks JAX-WS JAXB JBoss AS JMS Linux MapForce MapReduce maven MongoDB Mule Mule ESB Mule iON Netbeans OpenEJB Oracle BPEL Oracle iAS Oracle WSM Oracle XE Quartz Red Hat REST SAML Security Smooks SOA/Web Services SoapUI Spring Boot Spring Framework Spring Integration Spring WS SqlDeveloper Swift TOGAF9 Tomcat WSO2 ESB XCode XML/XSD/XSLT
Top Posts & Pages
- Validating JWT with Spring Boot and Spring Security
- Assign a fixed IP to AWS EC2 instance
- Run your Spring Boot application on AWS using Elastic Beanstalk
- Using Amazon RDS with your WordPress installation
- Using a WAR module as dependency in Maven
- Writing a Hadoop MapReduce task in Java
- Making Spring Boot application run serverless with AWS
- Starting developing in Swift: Using GitLab with XCode
- Running the Maven Release Plugin with Jenkins
- Using AWS SQS as JMS provider with Spring
Pascal is a senior IT consultant and has been working in IT since 1997. He is monitoring the latest development in new technologies (Mobile, Cloud, Big Data) closely and particularly interested in Java open source tool stacks, cloud related technologies like AWS and mobile development like building iOS apps with Swift. Specialties: Java/JEE/Spring Amazon AWS API/REST Big Data Continuous Delivery Swift/iOS