Budgeting

Blog;8 Budgeting Account Switch

So I emailed AWS about the account mix up, Turns out it was my own fault, But in coming back into my account I noticed some really weird stuff. I have instances and VPC’s Everywhere. I don’t know how this happened. So many things were amiss, so I’ll start again.

This slideshow requires JavaScript.

As you can see above I have VPcs in Frankfurt and Irland, this wasnt something i had done. I have not touched these Areas and this doesn’t make any sense. So here we’ll go through and make things again, maybe it’s too late to do so. But it will still be there.

Let’s Create a New Report.

Capture.PNG

So this has the same name as my Original one. I think it been deleted off, maybe I have done it in one of my purges, thought I doubt it. My account is really weird.

Budgeting

Blog 7: Budgeting

This week has been interesting I have had a computer breakdown and need the battery, motherboard, and keyboard fixed! Phew, it has been a confusing time.

In this confusion, I managed to switch over accounts to another one,. And because I had so much going on I didn’t think to check if it was the correct account. I just assumed it was, so I managed to rack up a little bit of cost. It wasn’t anything I can’t afford, but it was a costly mistake although not a big one. And a big learning curb, now I know to make sure it’s the correct account.So these screenshots are the Costs for the other account, these are in total a mistake. But still a loss none the less, so these will be on my blog.

Cost forcast.PNG

As shown above you can see how much this has cost me so far. I have gone through and stripped everything out of it. And it has not cost me anything further. It also has the forecast for the month in there.

Cost Other.PNG

This shows that the costs are in the EC2 instances, these were in Sydney. The rest of the cost was no tax that gets added on to the total.

Cost explodedr Other.PNG

As you can see above in the report, there is no cost in there yet.

Now I have currently gone back to my regular account and posted these mistakes. We can see what the costs are to this.
Write Cost forcast.PNG

As you can see here, I’m still going through my credits and therefore there is no cost to me.

In my credits, we can see that I have spent $2.05 in the last week. This is in the Elastic Compute Cloud and the Key management service.

Costs so far..PNG

 

Cost Exploer Day to day.PNG

As you can see here, the cost that has accumulated in the Cost Explorer has come from having no instance type. There should not be much more cost as there doesn’t need to be anything running. As we are deleting as soon as things are made.

Cost Forcast 2.PNG

 

In this forecast, if we were to keep on using the system as we were, we can see the cost will be exponential, between 0.00 – 61.33.

So the Dino Store has been a big blowout for me, but this is what learning is about. We learn from our mistakes. And make better decisions from the previous ones. So as you can see from below we still have $13 in credits remaining. Therefore this account costs me $0.

Cridiets.PNG

 

Up until now, I had previously thought that the Budgeting is what we set ourselves and we were to work out the cost so far. I hadn’t noticed that there was a budgeting tab in the billing management. I have now made a budget for myself. This is set on the items that I have noticed that cost me the most. We can see what it has cost from the Budget report below.

Budjet.PNG

 

Assessment 3: Deploy and Automate AD DS

Deploy & Automate ADDS Build Blog; 3

Now we have the original script premade from the previous assignment we need to modify and refine it. These scripts are saved in an Amazon S3 Bucket as shown below.

 

This slideshow requires JavaScript.

Once we have it in the bucket we can download this and open it in notepad++, I suggest opening it in there. I had opened it in original notepad, and this changed my code ever so slightly. Now we have it in our NotePad ++, we can try to change things.

First of all, I noticed that not all the references to the VPC were correct, As shown below

VPC worng.PNG

Soi needed to comb through the Temple for the different VPCs and change it to the correct one as stated in the top of the template. This was done via the control + F function, this was what I found the be the easiest.

Next issue I had was the Subnets, This was an issue because until I drew it out. I didn’t understand what I was doing wrong. The subnets needed to be either the same or just with a small different and in the same IP range as shown in the diagram below.

18679198_1476480002390552_915891650_n.jpg

The next issue/ step I had was to Figure out what was gooing on with the routes. These weren’t working. The first issue I notices is that I didn’t have ” “DependsOn”: “gw1″” in in the first route, so this was changed. Then I Noticed that the Gateway Id was referencing different gateways, one of which didn’t exist.  As shown below.

Route wrong..PNG

Once this was fixed, we then needed to change the destination cider block. This was something I don’t really understand, But this needed to be changed to the same subnet but different Ip addresses. The Ip addresses I chose for each route is shown above in the drawing I did to get a better definition.

So once this was fixed the next hiccup I had was an  IAM Reference, this s referencing something that was part of the previous script we made ours from. This is shown Below

IAm refernceing.PNG

Once this has been having been Taken out. It should successfully run. So this was run a couple of times without a hiccup. But one should note, as I made this mistake that you need to be in the right region, so the key reference is correct. The results as shown below.

 

Complte and done.PNG

 

Assessment 3: Deploy and Automate AD DS

Deploy & Automate ADDS Build Blog; 2

Once we have run the Adds script from the previous blog, we now need to run the cloud former. This is in the “create script”  Chossing Cloud former.PNG

Once we go past this we can set the spefiic User name and password to get in the cloud former.

Creating a password and username.PNG

Here we can see the cloud former being created.

Creating the template.PNG

Once this is created we need to get into this, this was done vai copying and pasting the dns address. Now i had an issue getting this to load so i chucked it in the ” in cognitio” mode.

This slideshow requires JavaScript.

then in this we need to give it as a name as showen below.

Template name ; 6.PNG

the next steps we just stayed with the basics and selected everything.  as showen below.

This slideshow requires JavaScript.

This creates the base templte in which we will modify and make our own.  this is saved in the bucket. Mine said it failed to save but it still continuted to do so. Cold former template.PNG

Budgeting

Blog;6 Budjeting

This blog was written after the beginning of the next assignment which is ADDS.

Cost 3

As you can see from above I haven’t had too many costs this month. From the key management service, the total has been $0.44.

Cost 1

The Elastic Compute Cloud put me back $0.12

Cost; 2

As you can see the Amazon Elastic Compute Cloud NatGateway has also cost $0.12.

Over all costs

The final total of the above is $0.56, this is because I have been deleting everything off as I have been making them.

As you can see below you can see the Cost Accumulated for the week and the forecasted Cost for the next month.

Cost Coverage and Optimiseation.PNG

Here you can see the forecasted amount is between $0.00- $59.04 .this is because it is saying that I have a no instance type, But this is actually impossible I have currently stripped everything out and there is nothing in there. The no instance type is followed by the string that follows my credits.

My credits are;

EDU_ENG_FY2017_Q1_2_100USD

And my no instance type is ;

EDU_ENG_FY2017_Q1_2_100USD

 

Assessment 3: Deploy and Automate AD DS

Deploy & Automate ADDS Build Blog; 1

In this we are to build and Automate a whole network, we need to do this via our own custom template script. In this assignment, i will walk you through what I did to create a temple.

Below we go into the document provided to us via moodle and select the 3rd option as shown below.

AWS Template.PNG

This launches a template for us to run, in this, we will go through and Use our own options in to fill in certain items like a key, and website with a password.

 

Permissions.PNG

ISSUE; when I tried completing the Template before it asked for the RDGWCIDER to be as noted above, but this failed. So I have currently Changed it to 10.0.0.0/16 and I’m yet to see if this works.

Here it is being created, hope it works;

Create in process.PNG

But it has failed on an internal source, Maybe its the name change I had done from AD-DS-Scenario-3 to AD-DS-Scenario-33, time to start again, let’s try this again. Only changing the name so I can see if that is, in fact, the issue.

Failed; 1

So now i will start again and change the name to AD-DS-Scenario-3, Here we go;

This slideshow requires JavaScript.

And it’s a Sucess !!, Yee On to the next step.

Budgeting

Blog;5 Budgeting & Cost Optimiseation

After finishing the Dinostore Application there were almost no costs apart from the Key Management service, as you can see from above. So far it has cost me over $80.

Below you can see the cost Explorer, showing what it has cost me for the week. We can also See the forecasted amount for the month, this is different from the actual cost here. This is because the Dinostore has really amped up the cost. So we were spending Not very much at the start, and then the Dinostore made this expendantal and it still hasn’t kept up.

Cost Coverage and Optimiseation.PNG

 

Cost Optimisation

So what is cost optimization? It’s when we go through everything with a fine-tooth comb and make things better. So what could I do for cost optimization?

  • Well for one, I could go through everything a double check to make sure I have Deleted everything off now it’s not needed.
  • Go through and think about what cost the most and work out ways around this for future reference. Say if there are instances go for the free tier, and go for Micro instead of large.
  • Sit down and make a personal Budget for yourself, Just like in real life Budgets will help you stop spending on unessayed things.
  • Set Alarms, though this dont actually work with the credits, once you switch over to your own money they will start to track you. and with the alarms, i have made They are set to be when i spend $1, $10, $50, $75 and $99 so i can have a good range of the costs as they come.