Skip to Content
Author's profile photo Steve Rumsby

Installing the 7.02 ABAP Trial system (NSP) in an Amazon AWS instance – Part 1: Creating the AWS Instance

We’ve been an “old-fashioned” SAP shop for a long time now, running R/3 4.7 with just the merest hint of web-based stuff. All of my SAP development experience so far has therefore been with ABAP dynpro, not Java or even Web dynpro. With an upgrade in the planning I wanted to get a jumpstart with this “new” stuff. In addition, we’re looking at a change of hardware platform, from Sun/Unix to Windows (the subject of another blog for another time, maybe). Both of these things prompted me to have a go at installing the newly released ABAP 7.02 Trial Version. I’ve installed earlier versions on my laptop before, so just for a change, and because there was a third thing I wanted to play with too, I decided to install it in an Amazon Web Services EC2 instance.
The first thing to note about installing the 7.02 trial in AWS is that the trial requires Windows Server 2003. Windows Server 2008 is not supported. This somewhat restricts the configuration of the AWS instance you can use. In particular, 1.7GB of RAM is the most you can get in a 32-bit Windows 2003 instance, but the requirements for the 7.02 trial say “at least 2GB RAM (recommended 4-8GB)”. Obviously, I ignored this! The resulting system is a bit slow, but it does work. Also, the requirements say you need 50GB disk space during the install, reducing to 36GB permanently. The Windows Server 2003 AWS instance comes with a 35GB root disk, which clearly isn’t big enough so you’ll need to add more storage. I added a 40GB second disk, into which most of the NSP system was installed. That ended up with 5GB free, and the root disk with 20GB free. I have since discovered a way of enlarging the root disk, which would make this a simpler process – maybe next time.


A quick word about costs before we get going, just so you know what you are letting yourself in for. All of the costs are listed here. My system is hosted in the EU, with a small standard instance (m1.small) costing $0.12/hour ($1 for an 8 hour day) and $0.11 per GB-month for storage (just over $8/month for the 75GB of storage I’m using for NSP). Remember the instance costs only apply while the instance is running, so remember to stop it when you are not using it! The storage costs apply all the time the storage is provisioned, whether the instance it is attached to is running or not. There are also some charges for data transfer in and out of the instance. Ongoing, this shouldn’t amount to much, but downloading the NSP installers does cost something – about $1.50 or so.These costs aren’t huge, and are OK for occasional use, but if you use the NSP instance every day they will start getting non-trivial.

Creating the AWS instance

Let’s get started. First sign up for amazon web services if you haven’t already. Then head to the management console and choose the EC2 tab.

Before anything else, at the top of the “Navigation” pane choose the region in which you want everything created. Costs vary between regions so you may want to choose the cheapest, or the nearest one. I went for “EU West”. Now hit the “Launch Instance” button. Here you choose the Amazon Machine Image (AMI) you want to clone to create your machine. These come with various OSs and other software pre-installed. You’ll need to go to the “Community AMIs” tab and search for AMI ID ami-6999b21d.


This is a basic Windows Server 2003 image provided by Amazon. Hit “Select” and in the following screen choose instance type m1.small.

In the next screen leave the “Advanced Instance Options” as defaulted.

Next, add tags if you want – these are good when managing lots of instances but unnecessary for just a few so i didn’t bother.


Next we need a key pair. This is to enable secure communications between your PC and the EC2 instance. You’ll need it to retrieve the Windows Administrator password once the instance it up and running. If you don’t have one, you’ll need to create one. Download the private key and keep it safe for later. You can use this again if, like me, you end up scrapping your first, or subsequent, attempts at all this and start again with a new instance!

Next we allocate a security group. This essentially controls the firewall between the EC2 instance and the outside world. If you run SAPgui and web browsers only on the instance itself, the “quick start” security group, allowing just RDP access, will be fine. If you want to access the NSP system from elsewhere, like the SAPgui installed on your own machine, you’ll need to create a new security group containing port 3200. Add port 8000 if you want web access from outside too. You can’t add these ports in the “launch instance” wizard, though – you’ll need to go back and add them later.

Finally, you are presented with a summary screen of all the settings. If all is OK, hit the “launch” button. Then go and make a coffee or two. At least the first time, the startup process takes a while. Give it 10 minutes at least.

Now we need to connect for the first time. Click on the “Instances” link in the navigation panel of the EC2 tab and your new instance should be listed with status running. Right click on it and select “Connect”. You’ll get a pop-up giving you the hostname to feed to an RDC client, and a link to download a shortcut that will auto-connect. Note that each time you stop and start an instance its hostname changes, so you need to collect the new name from here each time. So, do one or other of these and fire up RDC. Before you can login, though, you need the Administrator password, which has been randomly generated by the instance creation process. Go bank to the AWS console, right click on the instance again, and choose “Get Windows Password”. Here you’ll need to paste in the private key you downloaded previously – open the file in notepad, copy the whole contents, and paste into the dialog. In return you’ll be given the password. Go back to the RDC connection, login as Administrator with the password you’ve just been given, then change it to something more memorable! Personally I also create myself a user, rather than using Administrator all the time. Once you’ve changed the Administrator password, you can’t retrieve it this way any more so don’t forget it.

Next we need to add more storage. We do this by creating an EBS volume and attaching it to the instance, where it appears as an extra drive – the D: drive. The NSP installer will put the MaxDB datafiles files and all the NSP instance files (usrsapNSP) on this volume by default. Click the “Volumes” link in the navigation pane of the EC2 tab.

You’ll see the root drive of your instance listed there already. Click the “Create Volume” button to create a new one. You’ll need at least 40GB for the NSP install. Add more if you’re planning on doing anything else with this instance. The availability zone needs to be the same as that of the instance you created. You can see that in the instance properties.


Hit “Create” and the volume will eventually be listed with status “available”. Right click, choose “Attach volume”. If you have just one instance it will default in the “Instances” field, otherwise choose the one you want to attach to, then choose a device name. I went with “xvdf”. This new device will appear in the disk manager of Windows in your AWS instance, where you can format it, assign a drive letter, etc.
Finally, in the instance you need to tweak one EC2 setting. Launch the EC2 settings app (Start->All Programs->EC2ConfigService Settings) and on the “Genetral” tab untick the “Set Computer Name” tickbox. Without this, the Windows hostname changes each time the instance restarts, and that breaks the NSP install.


And that’s it. You now have a Windows 2003 server running in AWS, all ready for an NSP install.

Starting and stopping AWS instances

Before you make the same mistake I did and lose everything, a quick word on starting and stopping instances. There are two ways of stopping a running AWS instance – stop and terminate. If you stop an instance, it stops running but all the storage stays around so you can re-start it where you left off, just like shutting down a real machine. You don’t pay for the instance while it is running, but you do pay for the storage for as long as it exists. Stopping an instance is what you will do most of the time.
If you, instead, terminate an instance, it stops, but then the storage goes away too. There’s no way of getting it back. Don’t do this unless you really don’t want the contents!

Before the NSP install

Start downloading the two NSP install files from SDN. While they are going you’ll need two more things. First, something to unpack the RAR files – I use 7-zip. Secondly you’ll need a Java runtime. The 7.02 instructions say you need version 1.4.2.x or 1.5.x. I used the newest JRE6 from and it worked fine. As the 7.02 trial is an ABAP system, the JRE is only used by the installer, not by the installed NSP instance. If you install any Java-based components alongside NSP, you might need to go for an older version of the JRE.
With 7-zip installed and the NSP files downloaded, go ahead and unpack the RAR files – you only need to unpack part 1 – part 2 is included automatically. Now, finally, you are ready for the install itself.

And that will be the subject of part 2…

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Chris Kernaghan
      Chris Kernaghan

      Just finished reading your post about the ABAP trial install, it is very detailed with good information. Also glad to see more people getting into Cloud based services - keep spreading the word.


      Author's profile photo Former Member
      Former Member

      is wikileaks going to make EC2 famous? until I have read your blog I didn't realize Amazon was a market leader in mass cloud computing...I came across an interesting trivia about cloud stats (it involves binary tanks) and now it seems we are only a step away from running your own personal ECC 6.0 from Amazon cloud right into the iPhone. is SDN going to help us?


      Author's profile photo Martin English
      Martin English
      Nice article, Steve,

      FWIW I install a VNC Server on most of my AWS systems, which means I can connect to the Operatong System via smart-phone VNC apps, as well as accessing the Applications Im running.


      Author's profile photo Former Member
      Former Member
      aswell as VNC, you can also use an RDP client from most smartphones.. (without having to install vnc server)


      Author's profile photo John Moy
      John Moy
      Hi Steve,

      Thanks for sharing this information.  I have been wondering about doing this for a while but quite frankly didn't have the courage to actually try it (I'm a developer and not great on the installation side of things).  Still running my Trial ABAP systems locally 🙂

      Your post might well give me the confidence to try it out.

      Well done!


      Author's profile photo Former Member
      Former Member
      Hi Steve,

      Thanks for a great article. This was just what I needed after struggling with performance on VMWare images on a home PC. For a small cost and with the help of your article, setting up an SAP Trial environment on Amazon AWS is painless task. The performance is really good and you've saved me loads of time. 🙂


      Gary Elliott

      Author's profile photo Former Member
      Former Member
      This NSP install worked on a Windows 2008 AMI, just as described in this very good Weblog.  There was a hiccough when sapinst could not start the NSP instance.  I'm not sure of the reason -- related to 2008 or not?  Anyway, NSP started OK from SAP MMC and then restarting sapinst ran to completion OK.

      BTW, I've messed around with starting a few EC2 servers with both Windows and Linux this month.  My total charges come to all of $9.62 so far.  AWS is good, clean fun and cheap to boot!

      Author's profile photo Steve Rumsby
      Steve Rumsby
      Blog Post Author
      Glad you found it useful. Last time I tried an NSP install on Windows 2008 it worked OK, but each time you logged in it complained about the OS being unsupported. That was the only problem I found with it, so it was certainly usable. If you are not getting that, then maybe they've redone the installer and given it Windows 2008 support? Certainly Windows 2008 support is better now for mainstream SAP installations.

      Maybe I'll have another go.

      Author's profile photo Susan Keohan
      Susan Keohan

      Hi Steve,

      I have struggled to get NetWeaver AS ABAP 7.02 to *download* correctly, never mind actually installing it.  I may just have to give up that idea and bite the AWS bullet.  So if I do, I will constantly be referring back to this blog.

      Thanks very much, you might be dragging me 'to the cloud!'


      Author's profile photo Steve Rumsby
      Steve Rumsby
      Blog Post Author

      Glad to help. Of course, to really help I'm going to have to write part 2 - the actual dev system installation. Not entirely sure why that blog was never written. Better get started - don't want to leave you hanging...:-)


      Author's profile photo John Moy
      John Moy

      Hi Sue / Steve,

      The software download from SCN is a bit flaky.  However I have found it helps if you use Firefox for the download (IE never worked for me).  In fact I took Steve's original post here and extended it to document installation of a Gateway trial instance.  Note that a Gateway trial instance is pretty much an NSP instance with the Gateway components included (although importantly the Gateway trial has a hard-wired 90 day license expiry which cannot be extended).

      You can find my blog series here.  It includes the use of Firefox for the download, and also the actual ABAP system installation ...

      Part 1

      Part 2

      Part 3



      Author's profile photo Susan Keohan
      Susan Keohan

      Hi John (hijacking Steve's blog!)

      The download (which I have attempted 4-5 times) always gives me the first file, but the docu says you will get two files.  So I have several coppies of NWABAPTRIAL70209_64.rar, and even on of NWABAPTRIAL70304_64.rar.

      And that's where my install experience ends.  Gack.  But at least I am always using FF when I try this, not IE.  I am now going over to *your* blog thread.

      Thank you, John and Steve!

      Author's profile photo Steve Rumsby
      Steve Rumsby
      Blog Post Author

      Thanks John. I'd forgotten you did those. Saved me some work 🙂

      Author's profile photo Daniel Graversen
      Daniel Graversen


      I wish I had read this before I tried to install the NSP on AWS.

      But I installed the NSP on the same stack as I had the PO package from SCN and then just added 50g extra storage space for a new drive.

      Author's profile photo Former Member
      Former Member

      Excellent post Steve. Let's talk offline with and the possibility of you both doing a double act at SAP Inside Track North in September.