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 7036843
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:28:20+00:00 2026-05-28T01:28:20+00:00

Lately, I have been trying to automate our build process on Amazon EC2 and

  • 0

Lately, I have been trying to automate our build process on Amazon EC2 and I am impressed by what Amazon is offering. I am 90% done with my build process. We have managed to reduce our build time from 90 hours to just 4 hours by using 15 EC2 instances at a time. There are just 2 missing links. I have tried to find the answer but with no results.

Background
I launch multiple EC2 instances from my C# application and each EC2 instance does some Matlab computation. The number of instances to launch is a user defined parameter and the code load balances the build process accordingly. I have an executable on the EC2 that executes the Matlab commands. Also, my EC2 instance is a custom AMI with Windows Server 2008 and my own set of files and binaries installed.

Question 1)
After launching the EC2 instance, I have to wait for about 15 minutes for Remote Desktop to be available but I see that the instance is in “running” state within 2 minutes after I launch. Is there a way to directly launch my executable on EC2 from my local system without remote logging? That would save me those 15 minutes and this way, I could completely automate the build process. No need to RDP into EC2 to fire the executable. I looked at PsExec and other 3rd party tools to fire remote commands. I just couldn’t figure out how to use them with EC2. I even tried setting up a batch file that calls the executable on Windows startup but unfortunately that batch file is not called until I RDP into EC2. Is there any other way to achieve this?

Question 2)
How do I retrieve (stream) my log files from EC2 to my local system while the build is in progress? The build is expected to take about 12 hours (worst case with few instances running) and I would want some way of monitoring the build. I was thinking about streaming the log file from EC2 to S3 and then stream it from S3 to my local system but that does not sound too feasible. There has to be a better way to do this.

Forgive me if these questions have been answered before. It would be very kind if someone can point me to the right source or answer my questions here.

Thank you everyone.

  • 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-28T01:28:21+00:00Added an answer on May 28, 2026 at 1:28 am
    1. If you use Linux, user data is what you need. Here is RightScale example for you: What is the EC2 User Data field, and how can I use it?

    2. We use remote rsyslogging for this purpose. SYSLOG: SENDING LOG FROM REMOTE SERVERS TO SYSLOG DAEMON

    Can you switch to Linux?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Lately I have been trying my hands on Eclipse IDE for java development. I
So, I have been trying to understand Socket.io lately, but I am not a
I have been working with SharpSVN quite a bit lately and I'm currently trying
Okay so I have been trying to get into IoC lately. However, I keep
I have been trying to learn more about lambda expressions lately, and thought of
I've been playing around with boost::spirit::qi lately and have been trying to write my
i have been trying to get a screenshot lately but every thing in vain
So lately I have been trying ways to pass data from a child to
I have lately been trying to read about how everything with strings and encodings
I have been doing some research lately over my work project, i am trying

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.