Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7597391
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T22:08:45+00:00 2026-05-30T22:08:45+00:00

I am looking at using Amazon cloud services (EC2, S3 etc) for hosting. I’ve

  • 0

I am looking at using Amazon cloud services (EC2, S3 etc) for hosting. I’ve been looking at the JSON metadata that can be specified to configure various instances and the complexity has me concerned. Is there a dsl that will generate valid JSON metadata and more importantly validate the entries?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T22:08:46+00:00Added an answer on May 30, 2026 at 10:08 pm

    Unfortunately, I drew a blank after searching for this recently. I’m using Amazon Web Services CloudFormation (is that the JSON metadata you’re talking about?).

    There are a couple of issues with CloudFormation JSON files:

    1. I’m at well over 1,500 lines and it’s impossible to read,
    2. You can’t express everything the API gives you, notably in the area of Virtual Private Clouds,
    3. There are lots of bugs that are taking a long time to fix, Elastic Load Balancers losing HTTPS information, for example.

    So I’ve been using straight-up API calls in Scala using the Java API. It’s actually really nice.

    The Java API has a flavor of “setters” starting with with that return this so they can be chained. In Scala, you can use these to act like a poor-man’s DSL. So you can do things like

    val updateRequest = new UpdateAutoScalingGroupRequest()
                        .withAutoScalingGroupName(group.getAutoScalingGroupName)
                        .withAvailabilityZones(subnetAZsOfOurVPC)
                        .withVPCZoneIdentifier(subnetNamesOfOurVPC)
    
    as.updateAutoScalingGroup(updateRequest)
    

    Other things are easy to do in Scala with the Java API. For example, group all your Subnets by VPC in a Map, simply do

    val subnetsByVPC = ec2.describeSubnets(new DescribeSubnetsRequest).getSubnets.groupBy(_.getVpcId)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking at using a Windows SharePoint Services 3.0 wiki as a metadata repository.
I'm looking at using ADO.NET Data Services with silverlight. I've been looking at the
I was looking at using Amazon's EC2 service after reading this article: http://www.ibm.com/developerworks/java/library/j-javadev2-4/index.html But
I have realised that by using the Amazon S3 service directly, I can save
I've been looking into setting up and trying out Neo4j on Amazon EC2 however
I have been looking at using TDD and implementing proper testing (only just started
I'm looking to use NorthScale's Memcached Server with Amazon EC2, I've launched a new
I noticed that using urllib to download a webpage: http://www.amazon.co.uk/Darkness-II-Limited-PC-DVD/dp/B005ULLEX6 the content that I
I'm looking at using Amazon Cloudfront to distribute my JavaScript. What I'm not clear
This question is for anyone who has actually used Amazon EC2. I'm looking into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.