[Passo-a-Passo] Amazon EC2 - Como subir um servidor gratuito na AWS
Uploading a Virtual Machine to AWS EC2
In this video, the speaker teaches how to upload a virtual machine to the cloud using AWS EC2. The speaker explains the different types of servers available and their advantages.
Introduction
- The speaker introduces the topic of uploading a virtual machine to AWS EC2.
- The speaker promises to show step-by-step instructions on how to do it.
Advantages of AWS EC2
- AWS EC2 is an Elastic Compute Cloud service that allows users to upload virtual machines and servers.
- Users can choose from different types of servers depending on their needs.
- Load Balancer balances connections between availability zones and machines for better performance.
- Users can quickly change settings for their machines, including disk size and memory size, either manually or through auto-scaling.
Types of Machines Available on AWS EC2
- On-demand is the most commonly used type where users pay per second for usage.
- Free-tier is also available with limited resources.
Conclusion
The speaker concludes by encouraging viewers to check out the documentation provided by AWS for more information.
AWS Instance Types
In this section, the speaker discusses different types of instances available on AWS and their use cases.
On-Demand Instances
- On-demand instances are charged per hour of usage.
- There are other ways to pay for instances such as Instance Spot and Reserved Instances.
- Instance Spot is a discounted option but does not guarantee availability all the time.
- On-demand instances are the most common type.
Dedicated Hosts
- Dedicated hosts provide physical equipment solely for your business.
- They are more expensive than other options but offer dedicated resources.
Reserved Instances
- Reserved instances allow you to reserve an instance for a specific amount of time, resulting in cheaper pricing.
- You can change the machine size but cannot reduce it below the reserved minimum.
Types of Instances
- AWS offers various types of machines with different nomenclatures such as T4G, T3, T2, and Category C.
- Each type is optimized for different needs such as computation or memory.
Interface and Calculator
- The AWS interface allows you to choose which type of instance to use based on your needs.
- The AWS calculator helps estimate costs at the end of each month.
Introduction to AWS EC2
In this section, the speaker introduces AWS EC2 and provides an overview of how it works.
How AWS EC2 Works
- The speaker explains that AWS EC2 is a service that allows users to run virtual machines on the cloud.
- To access AWS EC2, users need to log in to the AWS console and navigate to the EC2 service under the Compute category.
- Users can launch instances of virtual machines by selecting a machine type, such as T2.micro, and choosing other options like network settings and security groups.
- The speaker emphasizes the importance of being careful when selecting machine types and regions to avoid unexpected charges.
Choosing Machine Types in AWS EC2
In this section, the speaker discusses how to choose machine types when launching instances in AWS EC2.
Selecting Machine Types
- The speaker explains that users can choose between running their virtual machines on shared hardware or dedicated instances. Dedicated instances are more expensive but offer better performance.
- Users should carefully consider their needs before selecting a machine type to avoid overpaying for unnecessary resources.
AWS Instance Types
In this section, the speaker discusses different types of AWS instances and their use cases.
Types of Instances
- Dedicated hosts are physical equipment dedicated to a single business. They are more expensive than other instance types.
- Reserved instances can be reserved for a specific period of time, which guarantees cheaper pricing.
- Spot instances offer big discounts but do not guarantee availability or durability.
- There are various types of machines available for different needs, such as T4G, T3, T2, and category C.
AWS Instance Optimization
In this section, the speaker discusses how to optimize AWS instances based on computing needs.
Instance Optimization
- Different instance types have varying levels of optimization for computation, memory, and storage.
- The AWS calculator can help determine the cost of using an instance type.
Pricing Models for AWS Instances
In this section, the speaker discusses different pricing models for AWS instances.
Pricing Models
- On-demand is the most common pricing model where you pay per hour according to usage.
- Reserved instances offer cheaper pricing by reserving an instance for a specific period of time.
- Charges are made per second with on-demand pricing.
- The AWS calculator can help determine the cost of using an instance type.
The speaker also discusses Instance Spot and Instance Reserved pricing models, which are covered in the first section.
Introduction
In this section, the speaker introduces himself and talks about the machine he will be setting up.
- The speaker greets the audience and mentions that they will not forget the machine running there.
- He talks about how he will speed up the process of creating a machine by searching for Bootstrap Linux, AWS at Linux machine up.
Setting Up the Machine
In this section, the speaker explains how to set up a Linux machine on AWS using Bootstrap.
- The speaker explains that he updates or checks for an update of Linux as soon as the machine goes up.
- Next, he installs an HTTP service to provide an HTML file and starts it. Then configures it so that whenever the machine restarts, it comes on and then accesses the folder from HTML.
- He creates a command to show that this machine is working. This is just for exemplification purposes only.
- The next step is to add storage to this machine. The speaker leaves it default because it's also in Free Tier that AWS provides.
Security Group Setup
In this section, the speaker explains how to set up security groups for your AWS instance.
- The speaker adds some tags so you can identify which machines are running when you're going to do billing later on.
- Next, we need to set up a security group part where we configure SSH service through port 22 via TCP protocol and two more protocols for communication - HTTP and HTTPS via ports 80 and 443, respectively.
- The speaker accepts the arrival of requests from these ports coming from anywhere. This is just an example and not the best safety practice.
Launching the Machine
In this section, the speaker explains how to launch a machine on AWS.
- The speaker emphasizes that it's important to be attentive when launching a machine and create a new KeyPair if it's your first time or you're going to have a different machine.
- Once this is done, you need to save this guy in order to be able to access this machine via SSH for those who understand it there.
I understand the instructions. Thank you for providing them. I will follow these guidelines to create a clear and concise markdown file that makes use of timestamps when available.
How it is behaving
In this section, the speaker talks about how something is behaving and points out an issue that has already appeared.
Behavior Observation
- The speaker asks how something is behaving.
- The speaker then directs attention to a specific area and notes that an issue has already appeared.
Possible Causes
In this section, the speaker discusses possible causes of the observed behavior.
Potential Causes
- The speaker suggests that there may be a problem with the software.
- Another potential cause could be related to hardware issues.
- The speaker also mentions that there could be an issue with connectivity or network problems.
Troubleshooting Steps
In this section, the speaker outlines some troubleshooting steps to identify and resolve the issue.
Troubleshooting Steps
- Check if there are any error messages or warnings in the system logs.
- Verify if all necessary services are running properly.
- Check if there are any updates available for software or drivers.
- Test connectivity and network settings to ensure they are working correctly.
Conclusion
In this section, the speaker concludes by summarizing what was discussed in previous sections.
Summary
- The speaker discussed how something was behaving and pointed out an issue that had already appeared.
- Possible causes were identified including software, hardware, connectivity or network problems.
- Troubleshooting steps were outlined to help identify and resolve the issue.