Your First Steps: Building a Simple Web Server
Welcome to CloudNOOE! This guide will walk you through creating, configuring, and deploying your first piece of cloud infrastructure—a simple, cost-effective web server. By the end of this tutorial, you will have a live EC2 instance running in your AWS account.
Estimated time to complete: 10 minutes
Prerequisites
Before you begin, make sure you have:
- A verified CloudNOOE account. If not, please Create Your Account first.
- An AWS account with programmatic access (Access Key ID and Secret Access Key).
Step 1: Create a New Workspace
(Progress: 20%)
A workspace is a dedicated area for a specific project.
- From your CloudNOOE dashboard, click the "New Workspace" button.
- Give your workspace a name, such as "My First Web Server," and a brief description.
- Click "Create Workspace."
You will be taken to a blank canvas—this is your visual editor.
Step 2: Design the Infrastructure with the AI Assistant
(Progress: 40%)
Let's use the AI Assistant to do the heavy lifting.
- Locate the AI chat panel on the right side of your screen.
- In the prompt input box, type the following command:
"Create a single t2.micro EC2 instance with a public IP address and a security group that allows HTTP traffic."
- Press Enter.
The AI will process your request and automatically add the configured EC2 instance and a corresponding security group to your visual editor. You'll see the components appear on the canvas.
Pro Tip: You can click on the EC2 instance in the visual editor to open its configuration panel. Here, you can manually adjust settings like the instance type, storage (EBS volume), or the Amazon Machine Image (AMI).
Step 3: Review Cost and Configuration
(Progress: 60%)
Before deploying, let's check the estimated cost.
- Look at the Real-Time Cost Estimation panel. It will show you the projected monthly cost for the
t2.microinstance you just added. - This is a great opportunity to see how changing an instance type affects your budget. Click the EC2 instance, change the type to
t3.small, and watch the cost update instantly. - For this tutorial, change it back to
t2.microto stay within the AWS Free Tier if applicable.
Step 4: Connect Your AWS Account
(Progress: 80%)
To deploy the infrastructure, CloudNOOE needs permission to manage resources in your AWS account.
- Click the "Deploy" button in the top-right corner.
- A pop-up will ask you to select your AWS credentials. If you haven't added any yet, click "Add New Credentials."
- Enter your AWS Access Key ID and Secret Access Key. Give the credential set a memorable name, like "My Personal AWS Account."
- Click "Save Credentials."
Security Note: Your AWS credentials are encrypted and stored securely. CloudNOOE uses them only to deploy and manage the resources you define in your workspace.
Step 5: Deploy to AWS
(Progress: 100%)
This is the final step!
- With your AWS account selected, click the "Deploy Infrastructure" button.
- CloudNOOE will generate a CloudFormation template in the background and initiate the deployment process.
- You can monitor the progress in the Deployment Status panel, which will show the status of each resource being created.
Once the status shows "CREATE_COMPLETE," your web server is live! You can find its public IP address in the outputs section of the deployment panel or by logging into your AWS Console.
Congratulations!
You have successfully designed and deployed your first cloud resource using CloudNOOE. You've experienced the power of AI-driven design, visual editing, real-time cost feedback, and one-click deployment.
Next Steps
- Try a more complex project, like one of our Use Cases.
- Explore the Best Practices for Architecture Design.