How to save yourself from AWS charges? [closed] - amazon-web-services

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I just started using Amazon web services, and I am using free tier version.
Due to some bitter experiences in past, I made budget to control price AWS charge me if I by mistake go beyond free tier limit.
I budgeted this to $1, so if the price goes beyond that, I get an email.
Is there any other filter/budget conditions I should implement so that AWS will not charge me anything? I am using AWS just for learning purpose.

Unfortunately, it is not possible to set a hard spending limit. This is discussed also in this question and in this one.
However AWS offers various other tools, such as budgets, for managing your costs.
Extensive documentation about cost management can be found at the following resource:
https://aws.amazon.com/aws-cost-management/
There is also a page about specifically how to avoid charges with AWS Free Tier: https://aws.amazon.com/premiumsupport/knowledge-center/free-tier-charges/
In general, I regularly get the feeling people overestimate the capabilities of the AWS free tier version. For any kind of production environment or meaningful computation you should expect actual charges to occur.
If it is just for learning purposes, make yourself familiar with what exactly the AWS Free Tier allows. Other than that, your budget is already a good way of monitoring your cost limit, also take a frequent look at your AWS Billing Dashboard.

Related

How to you start using cloud in a non-tech savvy company? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 2 years ago.
Improve this question
How could a company's first technical employee (or a consultant) integrate cloud service costs into the company budget? My thinking is that when you build "serverless" or "autoscaling" services the company may ask
How much will this cost? $10/month? $1,000/month?
and it seems unclear how to manage those costs.
If we just do an example. Let's say I build a Heroku or Cloud Run (GCP) hosted dashboard, or a simple web app using Firebase. Who pays for it? I don't want company tools to run out of my credit card for obvious reasons.
Make sure you have technical solution of your problem.
Then, find out the size of your data in each request. How much bandwidth you will use? Where you will store the data? How much CPU you will use? etc.
Based on this extrapolate your cost for whole month.
Based on that you can use GCP calculator https://cloud.google.com/products/calculator
I would recommend to start with one of the major cloud providers free plans, for example in AWS you can open free account for 12 month and you can start building your serverless code, create api, store data and much more. after getting confidence with your solution you can present it to your company and decide later if they want to continue with payable usage or not.

How do I contact Google to request special permissions on GCP? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I was wondering how do I contact Google to negotiate a deal. I wanted to burst coin mine on GCP. As said in the ToS it says that Free Trail doesn't allow to do that. So I upgraded but found that paid accounts can only mine if they have written permission from Google. Which is why I am here now. I was wondering if there was an email or someone at Google I can talk to about allowing me to burst the coin. Burst coin is a cryptocurrency that uses storage to mine instead of all those fancy machines. I only plan to use storage and not do dual miner(some miners do that). If needed I can run another and connect hard disks over the internet. I just didn't want to start doing something without asking for permission.
Edit: I have bad grammar. I basically said I need permission to use their cloud storage and/or their compute engine to mine burst coins. If I can't use their compute engine but their cloud storage I am willing to host hardware myself I just need storage to be a host since I don't have Terabytes of storage on hand.
You can contact GCP through their contact page over here. I would say that you should contact the compliance team, nevertheless, there is no guarantee that they will be willing to let you use the infrastructure for cryptocurrency mining.
Additionally, do not try to do this before their response as it is a violation of the terms of service, and may lead to a suspension on the service:
4.2 Other Suspension. Notwithstanding Section 4.1 (AUP Violations) Google may immediately Suspend all or part of Customer's use of the Services if: (a) Google believes Customer's or any Customer End User's use of the Services could adversely impact the Services, other customers' or their end users' use of the Services, or the Google network or servers used to provide the Services, which may include use of the Services for cryptocurrency mining without Google's prior written approval;
Hope you find this useful.

Amazon web services and tensorflow [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
As someone who has a laptop with insufficient processing power, I am having a hard time trying to train my neural network models. So, I thought of Amazon Web Services as a solution. But I have a few questions. First of all, as far as I know, Amazon SageMaker supports TensorFlow. I could not understand if the service is free or not though. I have heard some people say that it is free for a specific time, others say that it is free unless you surpass a limit. I would be more than happy if someone could clarify or put forward other alternatives that would help me out.
Thanks a lot!
Google cloud has similar options and they give $300 credit to developers.
Since google is the creator of tensorflow, I am guessing their cloud would be the one most up to date the latest. Try it out.
https://cloud.google.com/ml-engine/docs/pricing
They have a free tier, and this is all well documented at https://aws.amazon.com/sagemaker/pricing/
You should look into EC2 Spot Instances.
There is a market for AWS computing resources with prices rising and falling with supply and demand. You can set a max price as long as you are flexible on the availability. When the prices fall (usually at night), you can take advantage of (big data) computing resources at 90% off.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-spot-instances-work.html

Amazon EC2 - US East vs US West... Does it matter? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
My question is not so much related to Amazon's specific differences between these two regions, but more about how the distance could affect applications' performance.
I have an application that will only be accessed in by US West users (I know this for sure). However, my EC2 instances are located in US East... Should I worry about that?
Will my applications performance really be that affected?
Retrieving web pages vs streaming media, does this make a big difference?
From personal experience it doesn't make a whole lot of difference. But if all your users are in the Western US I would still make my servers run in the us-west-1 or us-west-2 regions. There's probably a slight lower latency, so it also depends on the latency requirements of your customers. For example we have a strict 70ms latency requirement from our customers so we want to have our server located close to our customers.
Furthermore, if you want higher performance you might want to consider upgrading the sizes of your instances (EC2), databases(RDS), etc.
If you want to migrate your app from us-east-1 to any of the us-west regions you can create AMI's for your instances for example and then copy them over using the AWS AMI Copy functionality.

Can the way a site is coded affect how much we spend on hosting? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
Our website is an eCommerce store trading in ethically sourced loose diamonds. We do not get much traffic and yet our Amazon bill is huge ($300/month for 1,500 unique visits). Is this normal?
I do know we are daily doing some database pulling twice from another source and that the files are large. Does it make sense to just use regular hosting for this process and then the Amazon one just for our site?
Most of the cost is for Amazon Elastic Compute Cloud. About 20% is for RDS service.
I am wondering if:
(a) our developers have done something which leads to this kind of usage OR
(b) Amazon is just really expensive
IS THERE A PAID FOR SERVICE WHICH WE CAN USE TO ENSURE OUR SITE IS OPTIMISED FOR ITS HOSTING - in terms of cost, usage and speed?
It should probably cost you around 30-50 dollars a month. 300 seems higher than necessary.
for 1500 vistors, you can get away with using an m1.small instance most likely
I'd say check out the AWS trusted advisor service that will tell you about your utilization and where you can optimize your usage, but you can only get that with AWS Business support (100/month). However considering your way over what is expected, it might be worth looking into
Trusted advisor will inform you of quite a few things:
cost optimization
security
fault tolerance
performance
I've generally found it to be one of the most useful additions to my AWS infrastructure.
Additionally if you were to sign up for Business support, not only do you get trusted advisor, but you can ask questions directly to the support staff via chat, email, or phone. Would also be quite useful to help you pinpoint your problem areas.