BLOG

Category: 'micro iron instance'


Richard Seroter

Micro Iron Foundry Image Updated and Ready for Use

Micro Iron Foundry is a VM image that makes it easy to add the .NET DEA to Micro Cloud Foundry development environments. This powerful combination helps developers design their Cloud Foundry solutions locally before pushing to any number of public hosting providers.

Read More
Iron Foundry

Iron Foundry, Stackato, a New Micro Image Pair

Today we’re releasing a new update for the Iron Foundry Micro Instance. The biggest changes are two fold. One is our full support of the Stackato from ActiveState powered micro instance. We’ve taken the great work that the ActiveState Team has done with Cloud Foundry and rolled that into our Iron Foundry enabled Micro Instance! The second big addition is full support for the Cloud Foundry Micro Cloud Foundry 1.2 release.

For those of you that have dived heavily into the overall framework, some of the specifics include changes that enhance the reliability of the controller and self-healing nature of the system.

How to get it up and running? Easy…

First download and get the Stackato Micro Cloud Running.

  1. Download the Stackato Micro Cloud here: http://www.activestate.com/stackato/download_vm
  2. Unzip the image to the location you want the image to execute from.
  3. Set the network on the staccato image to bridged.
  4. Startup the Stackato Image.
  5. When it boots up get the IP and Hostname Address. Note both the host name and IP address.
  6. The Hostname will need to be added to your hosts file, either /etc/hosts in OS-X or Linux and c:WindowsSystem32Drivershosts. Add the IP & host to the file like ‘192.168.NNN.YYYY stackato-XXXX.local’ and  ’api.stackato-XXXX.local testwebapp.stackato-XXXX.local‘ (add additional entries at the end for other web apps you intend to push)
  7. Navigate to http://stackato-XXXX.local and it will redirect to the initial setup page where you enter an email address and password. These credentials are added to the Stackato Instance, so be sure to remember them.

Next step get the Micro Iron Foundry VM Running & Communicating w/ The Stackato Micro Cloud.

    1. Download the Micro Iron Foundry VM here: https://ironfoundry.org/download (Use 7-zip to unzip, or on the Mac use a tool like the “Unarchiver”(http://wakaba.c3.cx/s/apps/unarchiver.html or get it from the App Store)).
    2. If VMWare asks if you have moved or copied the VM, choose “I copied it”.
    3. It will show “Setup is starting services” as this is a Windows VM. After it goes through the inital setup it will continue and require your input
    4. Set the timezone. Click Next
    5. Accept the licensing terms. Click Next
    6. It will now say that the users password must be changed before logging on the first time. Click OK and set the password (make sure to remember the password!)
    7. After setting the password you will now be logged into the core terminal prompt. You can now enable Iron Foundry on your Cloud Foundry Micro Cloud. (Make sure your Cloud Foundry Micro Cloud is running at the same time)
    8. Boot up the Micro Iron Foundry instance. It will prompt you for a password for the Administrator user.
    9. At the command prompt (C:UsersAdministrator) execute these commands:
    10. C:UsersAdministrator>cd C:IronFoundrySetup
    11. C:IronFoundrySetup>RunSetup.cmd
    12. At the prompt enter your domain stackato-XXXX.local, IP address and password.
    13. It will then connect via ssh, patch the system, restart the cloud controller, and setup the local SQL provisioning services in the Iron Foundry VM.
command line results

Once the setup process is done you can use Cloud Foundry Explorer (https://ironfoundry.org/download) to push an ASP.NET application. I’ve attached a sample ASP.NET application. Click the gear icon to add a cloud, click the green + button to add a New Server. Rename server to something and add an api url of api.stackato-XXXX.local, email and password. Clicking ”Validate Account” should succeed. Once the cloud is added, you can use push and choose that cloud to publish to it. You should use “testwebapp” as the name since you added it to the hosts file above. Once pushed, you can visit http://testwebapp.stackato-XXXX.local to browse to your application, and http://testwebapp.stackato-XXXX.local/env to see more detailed info.

To get involved with Iron Foundry check out the project at https://ironfoundry.org and Cloud Foundry at http://www.cloudfoundry.org/. With the code available on github at https://github.com/IronFoundry or https://github.com/cloudfoundry.

Read More
Iron Foundry

DEA and Micro Updates.. Oh My!

Today we released the updated to the DEA (Droplet Execution Agent) and our Micro Cloud download. These updates do address some of the bugs that have been reported and also a memory leak issue with the IIS Management COM object. Download the latest DEA, Micro, and Developer tools: https://ironfoundry.org/download. Get Help: http://help.ironfoundry.org The Iron Foundry Trial environment has been updated to the latest and greatest DEA and you can sign up for FREE to try it out: https://ironfoundry.org/signup Thanks Iron Foundry Team - Bringing the Hamma!

Read More
Iron Foundry

Iron Foundry Micro Cloud 1.0.0 Released!

The micro instance enables you to do local development in .NET on the Micro Cloud Foundry instance. The Iron Foundry team has worked very hard to make this an easy transition without much hassle. You are four steps away from running your own cloud locally with .NET support:

Step 1: Get all the bits needed to setup

  • Sign up on Cloud Foundry for your micro cloud v1.1.0
  • Download Iron Foundry Micro Cloud

Step 2: Get your Cloud Foundry Micro Cloud Working

It is very easy to get your Cloud Foundry Micro Cloud running. Here are the simple steps taken:
  1. Unzip the virtual machine and start it up in VMware Workstation, Player, or Fusion.
  2. After it starts up select option 1 to configure.
    1. Set your password (make sure to remember it!)
    2. Set DHCP or Static for network (we chose DHCP)
    3. HTTP Proxy: (Choose none by hitting enter)
    4. Enter in your configuration token (if you dont know it generate it here)
    5. After it is done updating your DNS it will Reinitialize the monit daemon and get everything installed. (can take up to 5 minutes)
image02.png Next thing to do is register a user within your Micro Cloud (Required).  Here is how to do this: http://start.cloudfoundry.com/infrastructure/micro/installing-mcf.html#registering-a-micro-cloud-foundry-user-with-vmc If you are still having trouble getting this part working please refer to the Getting Started guide from the Cloud Foundry team.

Step 3: Get your Iron Foundry Micro Cloud Working

Now that you have the Cloud Foundry Micro Cloud installed and up and running you can easily extend it to support .NET with the Iron Foundry Micro Cloud. The Iron Foundry Micro Cloud is a Windows Server 2008 R2 Standard Edition Server and has no software keys initialized which means you will need to provide your own license key to keep it running after the Windows trial period. Here are the steps to get started:
  1. Use 7-zip to unzip the Iron Foundry Micro Cloud VM and start it up in VMware Workstation, Player, or Fusion.
  2. If VMWare asks if you have moved or copied the VM, choose “I copied it”.
  3. It will show “Setup is starting services” as this is a Windows VM. After it goes through the inital setup it will continue and require your input
    1. Set the timezone. Click Next
    2. Accept the licensing terms. Click Next
    3. It will now say that the users password must be changed before logging on the first time. Click OK and set the password (make sure to remember the password!)
  4. After setting the password you will now be logged into the desktop. You can now enable Iron Foundry on your Cloud Foundry Micro Cloud. (Make sure your Cloud Foundry Micro Cloud is running at the same time)
    1. Browse to C:IronFoundrySetup
    2. Double Click RunSetup.cmd from there follow the instructions to configure Iron Foundry with Cloud Foundry.
      1. Enter Micro CF Identity: This is your Cloud Foundry Micro Instance Url (example: jwray.cloudfoundry.me is the one we are using for this demo)
      2. Enter Micro CF Password: This is the password you entered when setting up your Micro Cloud in step 1.
      3. Once it is done installing press any key to exit
image03.png

Step 4: Push an Application and feel the love

Now that you have been able to setup your Cloud Foundry instance running Iron Foundry you can now push and update your application by doing the following:
  1. Download and install the VS 2010 extension from here.
  2. Right click on your project and then go to “Push Cloud Foundry Application…
  3. Choose “Manage Clouds…” to set up your new Micro Iron Foundry Cloud
image05.png
  1. Choose “Add Cloud Connection…”
image01.png
  1. Next choose “Add Cloud…” then “Add” and enter information similar to that shown here
image04.png
  1. Back on the “Add Cloud” screen, enter your credentials and validate the connection
image06.png
  1. When your account validates, close the “Add Cloud” and Explorer windows to return to the push dialog.
  2. From the Push Cloud Foundry Application select the correct settings (you can see what we did below)
  3. Cloud: Select the cloud you entered above.
  4. Name: Enter in any name you want for the application.
  5. URL: enter in the full url of the application. Here we will use helloworld.jwray.cloudfoundry.me
  6. Memory Limit: Select the amount of memory you want your application to use.
  7. Instances: Select the number of instances you want your application running on.
  8. Select the services you want to bind to your application such as a database.
image00.png Click the “Push” and it will package it up and push it live doing all the configuration of the services and application into Cloud Foundry with Iron Foundry.

Read More