Skip to content

Commit b502288

Browse files
authored
fix(crawler): Re-design a crowler (#141)
* feat(compose): comelete compose prompt * fix(kuber): remove lb * feat(compose): compelete compose prompt * nothing * fix(compose): totally restructre docker compose generator * fix(compose): directory builder * fix(compose): compelete compose generation allgorithm * fix(compose): edit default values for documentation * feat(compose): add union type input for networks * fix(routes): add /api to all routes * fix(installation): fix terraform installation process and model * fix(installation): create MyBash for scripts * fix(bash): edit bi/bash * fix(docker install): fix it * feat(install): add jenkins and gitlab installation * Update unit-test.yml * fix(install): fix jenkins and gitlab * fix(crawler): fix the crowler to crawl 2 aws urls
1 parent 222d0c5 commit b502288

File tree

7 files changed

+272
-236
lines changed

7 files changed

+272
-236
lines changed

crawl/content_parser.py

Lines changed: 0 additions & 105 deletions
This file was deleted.
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
Title: Amazon EC2 instance types - Amazon EC2
2+
3+
When you launch an EC2 instance, the instance type that you specify
4+
determines the hardware of the host computer used for your instance. Each instance type
5+
offers different compute, memory, and storage capabilities, and is grouped in an instance
6+
family based on these capabilities. Select an instance type based on the requirements of the
7+
application or software that you plan to run on your instance.
8+
Amazon EC2 dedicates some resources of the host computer, such as CPU, memory, and instance
9+
storage, to a particular instance. Amazon EC2 shares other resources of the host computer, such
10+
as the network and the disk subsystem, among instances. If each instance on a host computer
11+
tries to use as much of one of these shared resources as possible, each receives an equal
12+
share of that resource. However, when a resource is underused, an instance can consume a
13+
higher share of that resource while it's available.
14+
Each instance type provides higher or lower minimum performance from a shared resource.
15+
For example, instance types with high I/O performance have a larger allocation of shared resources.
16+
Allocating a larger share of shared resources also reduces the variance of I/O performance.
17+
For most applications, moderate I/O performance is more than enough. However, for
18+
applications that require greater or more consistent I/O performance, consider
19+
an instance type with higher I/O performance.
20+
Current generation instances
21+
Previous generation instances
22+
Amazon EC2 instance type naming conventions
23+
Amazon EC2 instance type specifications
24+
Instances built on the AWS Nitro System
25+
Amazon EC2 instance type quotas
26+
For the best performance, we recommend that you use the following instance types
27+
when you launch new instances. For more information, see Amazon EC2 Instance Types.
28+
General purpose: M5 | M5a | M5ad | M5d | M5dn | M5n | M5zn | M6a | M6g | M6gd | M6i | M6id | M6idn | M6in | M7a | M7g | M7gd | M7i | M7i-flex | M8g | Mac1 | Mac2 | Mac2-m1ultra | Mac2-m2 | Mac2-m2pro | T2 | T3 | T3a | T4g
29+
Compute optimized: C5 | C5a | C5ad | C5d | C5n | C6a | C6g | C6gd | C6gn | C6i | C6id | C6in | C7a | C7g | C7gd | C7gn | C7i | C7i-flex | C8g
30+
Memory optimized: R5 | R5a | R5ad | R5b | R5d | R5dn | R5n | R6a | R6g | R6gd | R6i | R6idn | R6in | R6id | R7a | R7g | R7gd | R7i | R7iz | R8g | U-3tb1 | U-6tb1 | U-9tb1 | U-12tb1 | U-18tb1 | U-24tb1 | U7i-6tb | U7i-8tb | U7i-12tb | U7in-16tb | U7in-24tb | U7in-32tb | X1 | X1e | X2gd | X2idn | X2iedn | X2iezn | X8g | z1d
31+
Storage optimized: D2 | D3 | D3en | H1 | I3 | I3en | I4g | I4i | I7ie | I8g | Im4gn | Is4gen
32+
Accelerated computing: DL1 | DL2q | F1 | G4ad | G4dn | G5 | G5g | G6 | G6e | Gr6 | Inf1 | Inf2 | P2 | P3 | P3dn | P4d | P4de | P5 | P5e | P5en | Trn1 | Trn1n | Trn2 | Trn2u | VT1
33+
High-performance computing: Hpc6a | Hpc6id | Hpc7a | Hpc7g
34+
Amazon Web Services offers previous generation instance types for users who have optimized their
35+
applications around them and have yet to upgrade. We encourage you to use current generation
36+
instance types to get the best performance, but we continue to support the following previous
37+
generation instance types. For more information about which current
38+
generation instance type would be a suitable upgrade, see
39+
Previous Generation Instances.
40+
General purpose: A1 | M1 | M2 | M3 | M4 | T1
41+
Compute optimized: C1 | C3 | C4
42+
Memory optimized: R3 | R4
43+
Storage optimized: I2
44+
Accelerated computing: G3
45+
Fixed performance instances provide fixed CPU resources. These instances can
46+
deliver and sustain full CPU performance at any time, and for as long as a workload
47+
needs it. If you need consistently high CPU performance for applications such as
48+
video encoding, high volume websites, or HPC applications, we recommend that you use
49+
fixed performance instances.
50+
Burstable performance (T) instances provide a baseline level of CPU
51+
performance with the ability to burst above the baseline. The baseline CPU is
52+
designed to meet the needs of the majority of general purpose workloads, such as
53+
large-scale micro-services, web servers, small and medium databases, data logging,
54+
code repositories, virtual desktops, and development and test environments.
55+
The baseline utilization and ability to burst are governed by CPU credits. Each
56+
burstable performance instance continuously earns credits when it stays below the CPU
57+
baseline, and continuously spends credits when it bursts above the baseline. For more
58+
information, see Burstable
59+
performance instances in the Amazon EC2 User Guide.
60+
M7i-flex and C7i-flex instances offer a balance of compute, memory, and network
61+
resources, and they provide the most cost-effective way to run a broad spectrum of
62+
general purpose applications. These instances provide reliable CPU resources to
63+
deliver a baseline CPU performance of 40 percent, which is designed to meet the
64+
compute requirements for a majority of general purpose workloads. When more
65+
performance is needed, these instances provide the ability to exceed the baseline
66+
CPU performance and deliver up to 100 percent CPU performance for 95 percent of the
67+
time over a 24-hour window.
68+
M7i-flex and C7i-flex instances running at a high CPU utilization that is consistently
69+
above the baseline for long periods of time might see a gradual reduction in the maximum
70+
burst CPU throughput. For more information, see M7i-flex instances and C7i-flex instances.
71+
For pricing information, see Amazon EC2 Pricing.
72+
Javascript is disabled or is unavailable in your browser.
73+
To use the Amazon Web Services Documentation, Javascript must be enabled. Please refer to your browser's Help pages for instructions.
74+
Thanks for letting us know we're doing a good job!
75+
If you've got a moment, please tell us what we did right so we can do more of it.
76+
77+
Thanks for letting us know this page needs work. We're sorry we let you down.
78+
If you've got a moment, please tell us how we can make the documentation better.
79+
Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
Title: What is Amazon EC2? - Amazon Elastic Compute Cloud
2+
3+
Amazon Elastic Compute Cloud (Amazon EC2) provides on-demand, scalable computing capacity in the Amazon Web
4+
Services (AWS) Cloud. Using Amazon EC2 reduces hardware costs so you can develop and deploy
5+
applications faster. You can use Amazon EC2 to launch as many or as few virtual servers as you
6+
need, configure security and networking, and manage storage. You can add capacity (scale up)
7+
to handle compute-heavy tasks, such as monthly or yearly processes, or spikes in website
8+
traffic. When usage decreases, you can reduce capacity (scale down) again.
9+
An EC2 instance is a virtual server in the AWS Cloud. When you launch an EC2 instance,
10+
the instance type that you specify determines the hardware available to your instance.
11+
Each instance type offers a different balance of compute, memory, network, and storage
12+
resources. For more information, see the Amazon EC2 Instance Types Guide.
13+
Amazon EC2 provides the following high-level features:
14+
Virtual servers.
15+
Preconfigured templates for your instances that package the components you
16+
need for your server (including the operating system and additional
17+
software).
18+
Various configurations of CPU, memory, storage, networking capacity, and
19+
graphics hardware for your instances.
20+
Persistent storage volumes for your data using Amazon Elastic Block Store (Amazon EBS).
21+
Storage volumes for temporary data that is deleted when you stop,
22+
hibernate, or terminate your instance.
23+
Secure login information for your instances. AWS stores the public key
24+
and you store the private key in a secure place.
25+
A virtual firewall that allows you to specify the protocols, ports, and
26+
source IP ranges that can reach your instances, and the destination IP
27+
ranges to which your instances can connect.
28+
Amazon EC2 supports the processing, storage, and transmission
29+
of credit card data by a merchant or service provider, and has been
30+
validated as being compliant with Payment Card Industry (PCI) Data Security Standard (DSS).
31+
For more information about PCI DSS, including how to request a copy of the AWS PCI Compliance Package,
32+
see PCI DSS Level 1.
33+
34+
You can use other AWS services with the instances that you deploy using Amazon EC2.
35+
Helps ensure you have the correct number of Amazon EC2 instances available to
36+
handle the load for your application.
37+
Automate backing up your Amazon EC2 instances and the Amazon EBS volumes attached to
38+
them.
39+
Monitor your instances and Amazon EBS volumes.
40+
Automatically distribute incoming application traffic across multiple
41+
instances.
42+
Detect potentially unauthorized or malicious use of your EC2 instances.
43+
Automate the creation, management, and deployment of customized, secure, and
44+
up-to-date server images.
45+
Size, configure, and deploy AWS resources for third-party applications
46+
without having to manually identify and provision individual AWS
47+
resources.
48+
Perform operations at scale on EC2 instances with this secure end-to-end
49+
management solution.
50+
You can launch instances using another AWS compute service instead of using Amazon EC2.
51+
Build websites or web applications using Amazon Lightsail, a cloud platform
52+
that provides the resources that you need to deploy your project quickly, for
53+
a low, predictable monthly price. To compare Amazon EC2 and Lightsail, see
54+
Amazon Lightsail or Amazon EC2.
55+
Deploy, manage, and scale containerized applications on a cluster of EC2
56+
instances. For more information, see Choosing an AWS container service.
57+
Run your Kubernetes applications on AWS. For more information, see
58+
Choosing an AWS container service.
59+
You can create and manage your Amazon EC2 instances using the following interfaces:
60+
A simple web interface to create and manage Amazon EC2 instances and resources.
61+
If you've signed up for an AWS account, you can access the Amazon EC2 console
62+
by signing into the AWS Management Console and selecting EC2 from
63+
the console home page.
64+
Enables you to interact with AWS services using commands in your command-line shell. It
65+
is supported on Windows, Mac, and Linux. For more information about the
66+
AWS CLI , see AWS Command Line Interface User Guide. You can find the Amazon EC2 commands in the AWS CLI Command Reference.
67+
Amazon EC2 supports creating resources using AWS CloudFormation. You create a template, in JSON or YAML
68+
format, that describes your AWS resources, and AWS CloudFormation provisions and
69+
configures those resources for you. You can reuse your CloudFormation
70+
templates to provision the same resources multiple times, whether in the
71+
same Region and account or in multiple Regions and accounts. For more
72+
information about supported resource types and properties for Amazon EC2, see
73+
EC2 resource type
74+
reference in the AWS CloudFormation User Guide.
75+
If you prefer to build applications using language-specific APIs instead
76+
of submitting a request over HTTP or HTTPS, AWS provides libraries, sample
77+
code, tutorials, and other resources for software developers. These
78+
libraries provide basic functions that automate tasks such as
79+
cryptographically signing your requests, retrying requests, and handling
80+
error responses, making it easier for you to get started. For more
81+
information, see
82+
Tools to Build
83+
on AWS.
84+
A set of PowerShell modules that are built on the functionality exposed by
85+
the AWS SDK for .NET. The Tools for PowerShell enable you to script operations on your AWS
86+
resources from the PowerShell command line. To get started, see the
87+
AWS Tools for Windows PowerShell User Guide. You can find the cmdlets for Amazon EC2, in the AWS Tools for PowerShell Cmdlet Reference.
88+
Amazon EC2 provides a Query API. These requests are HTTP or HTTPS requests that
89+
use the HTTP verbs GET or POST and a Query parameter named
90+
Action. For more information about the API actions for
91+
Amazon EC2, see Actions in the
92+
Amazon EC2 API Reference.
93+
Amazon EC2 provides the following pricing options:
94+
You can get started with Amazon EC2 for free. To explore the Free Tier options,
95+
see AWS Free Tier.
96+
Pay for the instances that you use by the second, with a minimum of 60
97+
seconds, with no long-term commitments or upfront payments.
98+
You can reduce your Amazon EC2 costs by making a commitment to a consistent
99+
amount of usage, in USD per hour, for a term of 1 or 3 years.
100+
You can reduce your Amazon EC2 costs by making a commitment to a specific
101+
instance configuration, including instance type and Region, for a term of 1
102+
or 3 years.
103+
Request unused EC2 instances, which can reduce your Amazon EC2 costs
104+
significantly.
105+
Reduce costs by using a physical EC2 server that is fully dedicated for
106+
your use, either On-Demand or as part of a Savings Plan. You can use your
107+
existing server-bound software licenses and get help meeting compliance
108+
requirements.
109+
Reserve compute capacity for your EC2 instances in a specific Availability
110+
Zone for any duration of time.
111+
Removes the cost of unused minutes and seconds from your bill.
112+
For a complete list of charges and prices for Amazon EC2 and more information about the purchase
113+
models, see Amazon EC2 pricing.
114+
To create estimates for your AWS use cases, use the AWS Pricing Calculator.
115+
To estimate the cost of transforming Microsoft
116+
workloads to a modern architecture that uses open source and
117+
cloud-native services deployed on AWS, use the AWS
118+
Modernization Calculator for Microsoft Workloads.
119+
To see your bill, go to the Billing and Cost Management
120+
Dashboard in the AWS Billing and Cost Management
121+
console. Your bill contains links to usage reports that provide details
122+
about your bill. To learn more about AWS account billing, see AWS Billing and Cost Management User
123+
Guide.
124+
If you have questions concerning AWS billing, accounts, and events, contact AWS Support.
125+
To calculate the cost of a sample provisioned
126+
environment, see Cloud Economics
127+
Center. When calculating the cost of a provisioned
128+
environment, remember to include incidental costs such as snapshot storage for EBS
129+
volumes.
130+
You can optimize the cost, security, and performance of your AWS environment
131+
using AWS Trusted Advisor.
132+
You can use AWS Cost Explorer to analyze the cost and usage of your EC2 instances. You can view
133+
data up to the last 13 months, and forecast how much you are likely to spend for the next
134+
12 months. For more information, see
135+
Analyzing your costs with
136+
AWS Cost Explorer in the AWS Cost Management User Guide.
137+
Amazon EC2 features
138+
AWS re:Post
139+
AWS Skill Builder
140+
AWS Support
141+
Hands-on Tutorials
142+
Web Hosting
143+
Windows on AWS
144+
Javascript is disabled or is unavailable in your browser.
145+
To use the Amazon Web Services Documentation, Javascript must be enabled. Please refer to your browser's Help pages for instructions.
146+
Thanks for letting us know we're doing a good job!
147+
If you've got a moment, please tell us what we did right so we can do more of it.
148+
149+
Thanks for letting us know this page needs work. We're sorry we let you down.
150+
If you've got a moment, please tell us how we can make the documentation better.
151+

0 commit comments

Comments
 (0)