Sub topic 10
Saving, sharing, and exporting estimates
This chapter assumes you can already build an estimate: add services, set a Region, and enter usage, as covered in the earlier chapters. It also assumes you can read a monthly cost breakdown and run a short Python script. Here you will learn how to turn a finished estimate into something a reviewer can open, compare, and keep as a record.
Why an estimate has to leave the browser
An estimate that exists only in your open browser tab is not useful for a decision. Finance wants a number, an architect wants the assumptions, and a manager wants a link. Months later, someone will ask why the budget was set at that figure. Saving, sharing, and exporting each answer a different need:
- Saving stores the estimate so you can return to it.
- Sharing gives other people read access without giving them your AWS account.
- Exporting produces a file you can attach to a ticket, load into a spreadsheet, or archive.
Treat these as separate steps. A shared link is convenient but changes under your control. An export is a fixed snapshot that nobody can change afterward.
Saving an estimate
In the public AWS Pricing Calculator, you select Save and share once the estimate has at least one service. The calculator asks for a name, stores the estimate on AWS servers, and returns a unique URL. You do not need an AWS account for this. The estimate is not tied to any account or to your billing data.
Because the estimate is not tied to an account, the calculator cannot tell who owns it. Whoever holds the link controls how widely it travels. Keep this in mind for the privacy section below.
Choose the name with care. It is the first thing a reviewer sees, and it is what you will search for in your own notes later. A name such as orders-api-prod-eu-west-1-2026Q4-v2 carries the workload, environment, Region, period, and revision. A name such as My Estimate carries nothing.
What a shared link gives the recipient
Anyone who opens the link sees the full estimate: every service, every configuration, every usage assumption, and the totals. They see it as you saved it. This has three practical consequences.
- The link is a snapshot of the moment you saved. If you keep editing in your tab afterward, the people holding the old link do not see those edits. Save again after a meaningful change and check which link you send out.
- Assumptions travel with the numbers. A reviewer can open each service and see whether you assumed 730 hours, 50 percent utilization, or a Savings Plan. This is the main advantage over sending a total in an email.
- Prices inside a saved estimate reflect the pricing in effect when you built it. AWS can change list prices. If you reopen an old estimate to reuse it, rebuild or re-save it, then compare the new total against the old one before you trust it.
Exporting an estimate
The calculator can export an estimate as a file. The formats offered have included PDF and CSV, and the console version can offer more. Check the Export menu in the version you use, because the options and column layouts are not guaranteed to stay the same.
| Format | Best for | Weak point |
|---|---|---|
| Attaching to an approval request or a design document | Hard to process with scripts or load into a spreadsheet | |
| CSV | Spreadsheets, scripts, and comparing two versions | Column names and layout can change; check the header row before you rely on it |
| Link only | Quick review by colleagues | Not a fixed record, and anyone with the link can open it |
A reasonable habit is to keep all three: share the link for discussion, attach the PDF to the approval, and store the CSV with your project files so you can diff it later.
Keeping a decision record
The estimate becomes useful long after the project starts, when you compare it to the real bill. For that comparison you need to know what you assumed. A short record beside the estimate does this. Store these items together in one folder or ticket:
- The shared link and the export files.
- The date you built the estimate.
- The three or four assumptions that move the total most, such as instance count, hours per month, data transfer out, and whether you assumed a commitment.
- The person who approved the figure.
You can generate part of this record by hand from the calculator's own breakdown. When your estimate is built from instance-hours, a quick check outside the calculator makes the assumptions explicit:
HOURS_PER_MONTH = 730 # average hours in a month, a common basis for monthly estimates
def monthly_compute_cost(hourly_rate, instance_count, utilization=1.0):
"""Estimate monthly On-Demand compute cost.
utilization is the fraction of the month the instances run (0 to 1).
"""
return hourly_rate * HOURS_PER_MONTH * utilization * instance_count
# hourly_rate is an illustrative placeholder, not a current AWS price.
example_rate = 0.02
print(round(monthly_compute_cost(example_rate, instance_count=3, utilization=0.5), 2))If the calculator line item for the same service differs from this hand calculation by more than rounding, one of your inputs is not what you think it is. Find out why before you share the estimate.
Comparing two versions from CSV exports
Estimates change. You add a service, reduce a count, or switch to a Savings Plan, and the reviewer asks what moved. Comparing two CSV exports answers that. The script below reads two exports and prints the monthly cost difference per service.
The column names are parameters because the export layout can vary. Open your file first and pass the real header names. The sample data in the script is illustrative only, written in the shape of a simple export so the script runs as shown.
import csv
import io
from collections import defaultdict
def totals_by_service(csv_text, service_col, cost_col):
"""Sum a monthly cost column per service from CSV text."""
totals = defaultdict(float)
for row in csv.DictReader(io.StringIO(csv_text)):
raw = row[cost_col].replace("$", "").replace(",", "").strip()
if raw:
totals[row[service_col].strip()] += float(raw)
return dict(totals)
def diff_estimates(old_text, new_text, service_col, cost_col):
"""Return {service: (old, new, change)} for every service in either file."""
old = totals_by_service(old_text, service_col, cost_col)
new = totals_by_service(new_text, service_col, cost_col)
result = {}
for service in sorted(set(old) | set(new)):
before = old.get(service, 0.0)
after = new.get(service, 0.0)
result[service] = (before, after, after - before)
return result
# Illustrative data only. Real exports use their own header names and layout.
V1 = """Service,Monthly cost
Amazon EC2,"$1,200.00"
Amazon S3,$150.00
"""
V2 = """Service,Monthly cost
Amazon EC2,$900.00
Amazon S3,$150.00
AWS Data Transfer,$310.50
"""
if __name__ == "__main__":
changes = diff_estimates(V1, V2, "Service", "Monthly cost")
for service, (before, after, change) in changes.items():
print(f"{service:<20} {before:>10.2f} -> {after:>10.2f} ({change:+.2f})")
total_change = sum(c for _, _, c in changes.values())
print(f"{'Total change':<20} {total_change:>+10.2f}")Running it prints one line per service, including AWS Data Transfer as a new line with a cost of 310.50 where the first version had none. This is the kind of omission the data transfer chapter warned about, and a diff makes it visible to a reviewer at a glance.
The review workflow
The sequence below puts the steps in order. Note that the export comes after the review, not before. An export taken too early freezes mistakes into your record.
Common errors
- Sending a stale link. You edited the estimate after saving, then pasted the earlier URL. Reviewers approve numbers you no longer hold. After each save, copy the link that the calculator shows at that moment, and put the date in the message.
- Leaving the default name. Several estimates named
My Estimatecannot be told apart a month later. Name every estimate at the first save. - Treating the link as access control. The link is not protected by a login. It is only hard to guess. Do not use it for confidential content.
- Trusting a PDF as data. Copying numbers out of a PDF by hand invites typing errors. Use the CSV when you need to process figures.
- Hard-coding column names. An export script written against one layout breaks silently if the header changes. Read the header row and fail loudly when an expected column is missing.
- Archiving the total only. A bare total without assumptions cannot be compared with the bill later, because you will not know which input was wrong.
Limits to remember
A saved and exported estimate is a forecast, not a bill. Sharing it does not make it more accurate. It only makes the assumptions easier to inspect, which is why the next chapter turns to checking assumptions and understanding the limits of an estimate. If your organization works from account-level cost data, the console offers saved estimates tied to your account, covered in the last chapter. Those differ from the public calculator's link-based sharing in who can see them and how they are managed.
Exercise
You saved an estimate, sent the link to a reviewer, then changed the instance count in your browser tab without saving again. The reviewer approves a total. Which numbers did they approve, and what should you do?
Show answer
They approved the numbers as they were at the last save, which use the old instance count. Your edited version has not been saved, so the approval does not cover it. Save the edited estimate, send the new link, and ask the reviewer to confirm the changed total. Keep both links in your record so the history is clear.
Exercise
Why export a CSV in addition to sharing the link, and what must you check before writing a script that reads it?
Show answer
The link is not a fixed record and cannot be processed by a script, while a CSV is a snapshot you can archive, load into a spreadsheet, and compare against another version. Before scripting, open the file and read the actual header row. Column names and layout can differ from what you expect, so pass the real names into the script and make it fail clearly when one is missing.
Exercise
A colleague wants to share an estimate whose service descriptions include a customer's name. What is the safest approach?
Show answer
Remove the customer name from the estimate name and descriptions before saving, because anyone with the link can read everything in it. If the details must stay, export a PDF and send it through your approved document channel instead of a public link.