2015-12-10 by Axel Fontaine
Boxfuse makes it effortless to deploy modern JVM-based applications on VirtualBox and AWS. Most of these applications are based on Spring Boot, Dropwizard, Tomcat, TomEE or the Play Framework and many of them are completely stateless with all state stored in some external service like RDS or S3.
However some applications also need to temporarily store some state locally for a number of reasons including:
Starting today Boxfuse can now easily provision any amount of temp space you need. Every instance going forward will have 1 GB of temp space on disk. You can increase this all the way to 16384 GB (16 TB) or disable it completely by setting it to 0. This storage should be considered strictly ephemeral and will be automatically destroyed once the instance it is attached to terminates.
So how does this work in practice?
Say you have an application that requires 100 GB of temp space. You can now enable that by doing:
> boxfuse run myapp-1.0.jar -tmp=100
And that's it. Boxfuse will fuse an image and launch an instance by provisioning both the root device (where your application code resides) and a new
temp volume of 100 GB which will be automatically available for you to use under
/tmp. Boxfuse will also
automatically configure the JVM to use the
/tmp folder for all temporary files.
You are fully flexible and can enable this either at image creation or at instance launch time.
Also note that on AWS all temp volumes are encrypted by default and auto-destroy when the instance terminates to ensure the privacy of your data.
While Boxfuse has always worked great with modern stateless JVM applications, today we introduced support
for easily provisioning from 0 to 16384 GB (16 TB) of strictly ephemeral instance temp space. This space is automatically ready to use and
This feature is available today for all Boxfuse users on both VirtualBox and AWS instances at no additional cost. (AWS charges may apply)
Existing users only need to update their Boxfuse client with
> boxfuse -u
to start using this.