2015-09-27 58 views
-8

我有問題在Windows操作系統中運行和配置Netflix Asgard。 有誰知道如何運行和設置開發環境?Netflix Asgard在Windows中

+1

Asguard支持是在這裏:https://groups.google。 COM /論壇/ M /#!論壇/ AsgardUsers –

回答

0

環境

At Netflix, we run Asgard using Oracle JDK 6 on Linux and Mac. Those are our most tested configurations. 
We've seen issues with OpenJDK and Java7 in the past, but believe they should be resolved now. 
There are known issues with Asgard on Windows. There are a couple of suggestions on the Troubleshooting page that might help if you want to try to get Asgard to run in Windows. 

創建AWS密鑰對

Ensure there is at least one EC2 SSH key pair in your AWS account. 
Create a key pair using the AWS Management Console. 
See Amazon's documentation for help using the key pair to gain SSH access to your EC2 instances. 

註冊爲SQS和SimpleDB的(免費)

Asgard assumes your AWS account is signed up for multiple cloud services, and may hang when loading caches on startup if one of those services stays unavailable to you. Some users have reported hung startup routines until their account had SQS and SimpleDB. 

下載並運行仙宮

These instructions cover running Asgard as a standalone jar file with embedded Tomcat. You can also run Asgard in as a war file inside of Tomcat. See Tomcat Configuration for instructions. 

Download asgard-standalone.jar from https://github.com/Netflix/asgard/releases 
Open a shell and navigate to the directory where you downloaded the jar file. 
Run java -Xmx1024M -XX:MaxPermSize=128m -jar asgard-standalone.jar 
See Troubleshooting if there is a problem 

提供您的AWS帳號憑據

Open a browser and go to http://localhost:8080 (or the port you chose) 
If the server has never run Asgard before you should see a form requesting your AWS credentials. 
    This is a shortcut for creating a minimal Asgard configuration in a default location on your server. You can modify the configuration file later. 
    If your AWS account already owns Amazon Machine Images (AMIs) that you launch, then uncheck "Use public Amazon images" in order to remove clutter from your image lists. 
Enter your credentials and wait for the server to load and cache data from the AWS. The screen should refresh automatically when loading is complete after a few minutes. 

創建應用程序和安全組

Click "App" 
Click "Create New Application" 
    Name: "helloworld" 
    Description: "Example application" 
    Owner: <your name> 
    Email: <your email address> 
    Leave the drop-downs unchanged 
Submit the form by clicking "Create New Application" at the bottom 
On the Application Details screen, click "Edit Application Security" 
Leave the checkboxes empty 
Submit the form by clicking "Update Security Groups" at the bottom 

創建羣集

Click "Cluster" 
Click "Create New Auto Scaling Group" 
Select the "helloworld" application 
    Notice the name preview changes 
Scroll down to the "Launch Configuration" section 
Change the AMI Image ID to the AMI that you want to deploy as your helloworld example. 
Select the helloworld security group 
Submit the form by clicking "Create New Auto Scaling Group" at the bottom