So if you spin up an EC2 instance just for when you need it and then bring it down when you’re done and stop paying for that is what’s called an on demand instance. Well what if you want to save a little bit when making your purchases? Well you have options. First off is…
Posts/Projects
Post #74 (AWS) – Assigning roles to EC2 instances
Let’s say you create a new EC2 instance and you want to be able to read users in IAM from there with aws iam list-users However this command will fair as the instance does not have the permission. All you need to do is create a role in IAM, assign the appropriate permission, in this…
Post #73 (AWS) – EC2 instance connect
In AWS you don’t have to use the key pairs you generate to SSH. Or if for whatever reason you are not able to use SSH in your terminal or install PuTTY. You can simply use EC2 instance connect. You still need to have SSH open on the EC2 instance, but it is an easy…
Post #72 (AWS) – SSH access in EC2 continued
So perhaps you have configured your security group has planned, verified the public IP on your node, but can’t SSH. So how do you SSH? Well on Windows 10 and up as well as linux and SSH you can generate a key pair from the EC2 console, be sure to select pem file and run…
Post #71 (AWS) – SSH access in EC2
Depending on what OS you are running, specifically on the machine you are accessing your AWS resources with, not the VMs themselves your options can vary. If you are using Mac/Linux and windows 10 and up you can use the SSH utility. If you have any version of Windows including 11 and below you can…
Post #70 (AWS) – EC2 Security Groups
I imagine you security guys reading this are probably thinking, “Yeah the ability to deploy virtual servers that autoscale and distribute load based on our needs is great and all, but what about security?”. Well don’t you worry we have Security Groups. They are essentially a firewall to your EC2 instance and you can have…
Post #69 (AWS) – EC2 instance types
In EC2 you have the ability to deploy different instance types. You have the ability to deploy general purpose, this is useful if you need a good balance of CPU, memory, and networking requirements. You also have compute-optimized which is great for applications that require high processing power such as machine learning. You have memory-optimized…
Post #68 (AWS) – EC2, Elastic Compute Cloud
EC2 in AWS is the ability to rent virtual machines in AWS. You can configure several things such as networking, storage, ram, CPU etc. You can even bootstrap, run commands from a script right when the machine first boots up, using the user data script to configure the machine at boot such as installing updates…
Post #67 (AWS) – Budgeting in AWS
Most people reading this are probably using the free tier in AWS, well if you’re not careful you could go over and accidentally bill yourself. In order to avoid this you can create a budget in AWS. You simply select your account in the top right info, select billing information, and then in the right…
Post #66 (AWS) – IAM best practices and moving onto EC2
In IAM you have a few best practices. Some of those are try not to use your root account, create an IAM admin account you can use. Try to enable MFA if you can on all accounts and use access advisor and credentials report to audit the accounts. If someone wants access to your AWS…